Description:
User queries and answers.
|
|
|
Printing questions concerning lpr-switches and printer-name
|
| |
Hi,
I have the following settings for printing on 'P' from dired-mode:
(setq printer-name "myPrinter")
(setq lpr-switches '("-o sides=one-sided -o number-up=2"))
If I hit 'P' on a file foo.pdf in dired-mode, I get
Print foo.pdf with: lpr -o sides=one-sided -o number-up=2
According to the manual, the printer is then added via -P.... more »
|
|
Redirectin output of call-process to a file.
|
| |
I am executing the following command:
(call-process "/usr/bin/echo" nil (:file "/tmp/test.txt") nil "hello")
According tothe documentaion this should redirect the output of th eproces to the file "/tmp/test.txt" but I have this error:
Symbol's function definition is void: :file
What am I doingwrong here? I use emcs 24.3.1 on GNU/Linux.... more »
|
|
Is there a save-outline-visibility excursion or so?
|
| |
Hi List, I wonder if there is something like a 'save-excursion' for outline
visibility around? A kind of 'save-outline-visibility' function/macro
that would enable to change visibility state of an outlined buffer, do
some actions that depend on that visibility state in a program, and go
back to that exact state of folded and unfolded subtrees afterwards.... more »
|
|
rmail encoding bug (?) on case-fold-search
|
| |
There is some strange behaviour in rmail. I use GNU Emacs 23.4.1.
With this in .emacs
(set-default 'case-fold-search nil) ; nil is case sensitive
in an rmail message, instead of the "text buttons" like this
[1:multipart/alternative Hide]
[1/1:text/plain Hide]
[2:image/jpeg Show Save:20130519_152458.jpg (1MB)]... more »
|
|
outline-flag-region: Variable binding depth exceeds max-specpdl-size
|
| |
Hi List, I implemented a new (optional and customizable) feature for 'outshine.el':
behind every folded headline, a little 'cookie' can show the number of
hidden lines till the next visible headline. E.g., an Emacs Lisp buffer structured the 'outshine-way' with
outline-minor-mode and outshine.el activated might look like this after... more »
|
|
global-auto-revert-mode and file time stamps
|
| |
When a file's timestamp has been changed, but the contents are still the
same, what should be the behavior of emacs be? With the emacs that I am
using (development version):
GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.3)
of 2013-05-01 on bonsai
It thinks the file is changed. Here is what I do:... more »
|
|
Switching to a buffer in .emacs does not work
|
| |
In my .emacs I have:
(gnus)
(switch-to-buffer "*Group*")
But when starting emacs Gnus is started, but the switch to the *Group*
buffer does not happen. (That is why I initially thought Gnus was not
started.)
But when I give after the switch-to-buffer:
M-x M-e
I switch to the buffer. So the command is correct. Why does it not... more »
|
|
Filename auto complete doesn't work in tramp mode
|
| |
H
i,
I am using tramp mode in Emacs to edit files over ssh. Though listing of
directories works fine when I open it over ssh, but filename auto complete
doesn't work at all.
What can I do to further troubleshoot the problem?
Thanks,
Ravi A
|
|
OS X System Key Combinations
|
| |
Hi,
I was a little surprised that this didn't get a response. I can't believe that its the only time its come up. Is this an FAQ of some type?
Thanks for any help.
Tom S.
...
...
|
|
Returning variable "references" under lexical binding
|
| |
I recently tried writing my first non-toy code that employs lexical
binding. It's a routine that sets up a series of idle timers, storing
each successive timer object into the same lexical variable.
I want my routine to return an object that can be used to cancel the
most recently set timer. If I were writing this code in the days prior... more »
|
|
|