Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
The community is reviewing whether to reopen this question as of 18 days ago.
Improve this question
I want to insert inline image in my org file in emacs. I am completely new to emacs and org-mode. I searched in google but could not find immediate solution.
If anyone knows how to display inline images in the same buffer in org-mode emacs, please share.
if you add [[myimage.png]], org mode will use the file myimage.png as an inline image for myimage.png. You can then run M-x org-display-inline-images to display your inline image.
adding
(setq org-startup-with-inline-images t)
to your .emacs will make image inlined on opening a org buffer. M-x
org-redisplay-inline-images will refresh inlined image if needed.
You could also add
#+STARTUP: inlineimages
to an org file for inlining images only in this file.
You can use org-download
to drag images from the web browser or your file system straight to an org-mode buffer.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a Perl script using TK for gui, I just need to know upon calling it and during the time its active if it is still the "ACTIVE WINDOW" on your screen.
I want it to commit suicide(exit or die) if its no longer the "ACTIVE WINDOW" on your screen.
Example 1: I executed it, normally, its the active window, so nothing will happen.
Example 2: While its active, I clicked another gui application, so my current script is not ACTIVE WINDOW on my screen anymore, so now it must commit suicide and kill itself.
The method GetInputFocus in package GUITest will tell you witch window has the keyboard focus.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to open and edit images in Emacs
I know that Vim and XEmacs can modify XPM images.
How can I do it using GNU Emacs?
Open your image like a regular file, and Emacs will display it. If you then C-c C-c (image-toggle-display) then you'll get the image code, and you can edit it, technically.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just started to use EMACS, it's amazing.
So I had this question, what's the difference between a window and a frame ?
my understanding is :
you can press a 'q' to quit a frame not a window.
frame is composed of a series of windows
frame will contain a subset of all buffers.
frame is more like the concept of project while window is the for each file.
3 and 4 are not correct seemingly, as when I try to jump between frames I still saw all the buffers.
so are my understanding correct? or I am not doing it in a correct way ?
is there project like function for EMACS to organize buffers into different projects, so that when I jump between buffers, I only saw the buffers localize to that project?
can some one talk more about the project concept in EMACs related with the frame and window?
This is a bit confusing, but it's all due to history. Emacs was first created back in the days of text terminals, before the GUI was common. All you had was lines of monospaced text, usually around 80 columns by 24 rows. Emacs had the ability to split the screen into multiple windows, so you could see more than one file at once.
Then graphical terminals and the GUI came along, and "window" came to mean the GUI variety. But Emacs had dozens of functions and variables with "window" in their names, which dealt with its split-screen type of window. Renaming those functions would break all the Emacs Lisp code that used them. Therefore, when Emacs gained a GUI interface, its designers decided that it would be easier to come up with a new term to mean "GUI window", and keep "window" to mean "old-style Emacs window". The new term they came up with was "frame" (because frames are what surround windows).
So when Emacs talks about a "frame", it means the same thing that other programs would call a "window". In Emacs, a frame is basically a terminal emulator that can be resized on demand. Each frame acts pretty much like an Emacs running in a text terminal; the frame can contain one or more old-style Emacs windows.
However, all the frames of a single Emacs process are linked. Any buffer can be displayed in any window of any frame, and you can have the same buffer displayed in multiple windows and/or frames at the same time.
You can find more details in the chapter of the Emacs manual on "Frames".
So your (3) is not correct; every buffer is available in every frame. (4) is not really correct either; it's up to you how many frames and/or windows you want to use. Personally, I normally use 1 frame with 1 or 2 windows. I occasionally use a second frame if I want more space to display one file while working on 1 or 2 other files.
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Emacs code to automatically set indent-tabs-mode according to existing code
When I'm editing old files in a group where other people may work on them tomorrow or ten years from now, I like to adopt the file's existing tab or space indentation scheme for my additions/changes - that's just being polite, but it's currently something of a hassle. Does anyone have a way for emacs to look for the current indentation scheme in the file or at least the neighboring lines and use that for Tab indentation?
The following sound promising:
http://www.emacswiki.org/emacs/GuessStyle
https://savannah.nongnu.org/projects/dtrt-indent/
http://www.emacswiki.org/emacs/FuzzyFormat
A comparison/review would be interesting.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
What's the quickest way to print a hardcopy (paper) of my app running in the iPhone Simulator?
Command + Shift + 4 and then hit the space bar so you see a Camera for the cursor. Click on the Simulator window and voila. Then print it out.
Open your app and go to the screen you want to capture.
In the menubar, click Edit. Hold Control and you should see an option 'Copy Screen'.
Click that and then open Preview on your mac. In the menubar go to File->New from clipboard.
From there you can print or save the image.
You could use an application like LittleSnapper or Acorn to capture the window, and then print directly from there. That's a lot quicker than having to manually select the bounds and you won't get any stuff in the background. But it will include the iPhone frame around the app, don't know if you want that.