Hi,
why does
(set-fringe-mode '(1 . 0) )
give me a 4-pixel width of the left fringe, while
(set-fringe-mode 1 )
gives me the right width (1 pixel or so)?
thanks
dave
___
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mail
I'm very new to emacs and I wonder how I can copy some text from my
webbrowser into an emacs buffer?
This depends on the distribution you're using. We have put together a
distro that lets you use the same keyboard shortcuts that are
standard on the Mac:
http://aquamacs.org
It comes with a
Reiner, Kevin:
(setq recentf-menu-filter 'recentf-show-basenames )
is exactly what I wanted, thanks very much.
Now, I've changed that function to produce the same syntax as used
for buffer names (or in the buffers menu - don't know which one it
is) with the "--" instead of showing the path
How can I get recentf to show abbreviated paths in the "Open Recent"
menu?
That is, show paths just like in buffer names, where path names are
shown only where necessary in order to distinguish between existing
buffers.
At least, I'd like to be able to replace my home folder with a tilde
wh
I can unbind buffer-local variables with kill-local-variable. How do
I do the same for frame-local variables?
I can't find an appropriate function, and modify-frame-parameters
also doesn't seem to allow me to remove a parameter.
Thanks for your help.
Johan BockgÃrd wrote:
Read (info "(elisp)Coding Conventions")
Thanks very much for the hint.
It looks like either the warning is obsolete, or the 'cl' package
goes against Emacs naming conventions. But I assume it would do so
for a good reason (compatibility with common lisp).
For eve
Hi,
I often get warnings like
"Function `set-difference' from cl package
called at runtime"
when byte-compiling stuff.
Isn't it safe to call stuff from the cl package from byte-compiled code?
I looked into the byte-compile source, and I found that the cl
package documentation says that it
M-y yanks the last killed item onto the end of the search string. Is
that what you're looking for?
Thanks, that works indeed.
I use cua-mode, however, and I have H-v bound to cua-paste.
Cua-paste, however, doesn't paste into the minibuffer. And since I
want to use the interapplication clipboa
A lot of times I need to search for a string that I have just moved
to the kill-ring (or, in my case, actually just the clipboard).
So what I do is C-s, C-y, or C-s, H-v, where H-v is mapped to cua-
paste. Neither variant gives me the expected result.
Why can I not paste something into the min
Question about python mode (as in Emacs CVS):
Why is the key command for python-describe-symbol C-c C-f, and not C-
c f which would an analogous to C-h f ?
___
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinf
rgb:
> Supplying negative
> coordinates to set-frame-parameter causes the position to be
> relative to the righthand side of both the frame and screen.
Well that's a good hint already. At least I get stuff to appear on
the left screen that way.
(display-screens) returns 1; I reckon that's co
On 8 Jun 2005, at 16:24, Peter Dyballa wrote:
Maybe this way:
(create-fontset-from-fontset-spec
"-*-monaco-medium-r-*-*-0-*-*-*-*-*-fontset-10pt_monaco,
latin-iso8859-1:-*-monaco-medium-r-
normal--10-100-75-75-m-100-mac-roman,
Sure that'll include the font, but not in
> With create-fontset-from-fontset-spec there certainly is. I think
this
> function can only retrieve the bitmapped fonts from a font suitcase.
Well, I suppose that's my answer, then. There is no bitmap for 11pt
Monaco, I don't think. Then again, I'm using Aquamacs, which uses
anti-aliased outl
Peter Dyballa:
Is there some finite set of sizes it supports?
With create-fontset-from-fontset-spec there certainly is. I think
this function can only retrieve the bitmapped fonts from a font
suitcase.
The big question is now: how to include, say, a scalable cyrillic
font in a font set
I don't know if this is a bug or not, so I'll post it here:
If I open a second frame, then do C-x C-f in one of them and press
tab so that the window is split and I get a *Completions* buffer in
one frame, and when I then select the second frame and do a C-x C-f
there, I don't get another *
Hi,
could someone tell me how to get the origin of the display?
I'm asking because on the Mac port (Carbon, not X11), the x-ordinates
can easily become negative.
I've checked for some display-pixel-* function, and I've tried Google.
What I need to know is what the available range of coordinat
Hi,
I've advised my switch-to-buffer to open buffers in new frames in
order to take advantage of my native window manager.
Turns out that this doesn't work at all for links to source code in
help mode. When a link to a source definition is clicked in a help
buffer (suppose you have done C
How do I find out either
- what the (average) width of characters of a given font/
fontset is? or
`frame-char-width' or height gives the pixel width or height of the
frame's
default font.
Yes, but they only work with an existing frame as parameter.
I only have a font/fontset or some f
How do I find out either
- what the (average) width of characters of a given font/fontset is? or
- what, given a set of frame-parameters (including font and width and
height), what the pixel-width and pixel-height of a frame are going
to be once it is created?
I'm trying to put together a f
Hi -
can someone tell me how to create an invisible frame?
I tried setting visibility to nil in default-frame-alist, but that
doesn't do the job.
The reason why I want to do that is to create the frame, resize it
(and change other frame parameters depending on the buffer that is to
be disp
How do I delete divider bars from a menu?
Deleting normal items works, deleting the divider bar doesn't:
(easy-menu-remove-item global-map '("menu-bar" "file") 'exit-
emacs); works
(easy-menu-remove-item global-map '("menu-bar" "file") 'separator-
exit) ; doesn't work
The latter just do
I wrote:
how do I set different defaults in a site init file for things like
blink-cursor-mode?
I want the end-user to be able to change the setting and use "Save
Options" to save them to .emacs.
The solution is similar to what I've tried earlier, and it is not
documented as far as I could s
Hi,
how do I set different defaults in a site init file for things like
blink-cursor-mode?
I want the end-user to be able to change the setting and use "Save
Options" to save them to .emacs.
Right now, I can set blink-cursor-mode, but it isn't saved to .emacs
because it is not different from
Stefan Monnier wrote:
> In a site init file, I'm trying to set different default values for
stuff
> like 'blink-cursor-mode'.
> (setq-default blink-cursor-mode t)
> (blink-cursor-mode blink-cursor-mode)
Now this piece of code is bizarre. Are you trying to check for
corner-case
bugs or was there
In a site init file, I'm trying to set different default values for
stuff like 'blink-cursor-mode'.
(setq-default blink-cursor-mode t)
(blink-cursor-mode blink-cursor-mode)
However, if I then select a different setting (i.e. blink-cursor mode
nil) and save the customizations (Options/Save Option
Stefan Monnier writes:
> > how would one intercept handling of windowClosed events, that is, when
> > a user clicks the closer button to delete a frame. I would ideally like to
> > advise a function to do something special or use a hook.
>
> delete-frame-hook, maybe?
Thanks, but I assume this w
Hi,
how would one intercept handling of windowClosed events, that is, when
a user clicks the closer button to delete a frame. I would ideally like
to advise a function to do something special or use a hook.
This would be on the OS X port (but a generic solution would do, too,
of course).
Thank
How do I set a mode-specific font?
To elaborate on this, I want a generic solution that allows me to
assign special fonts to all major modes.
Another thing I have tried is to find the frame for the current buffer
(see code below). This doesn't work either, because although the
current buffer exi
How do I set a mode-specific font?
I've tried this hack:
(add-hook 'after-change-major-mode-hook
(lambda ()
(case major-mode
('text-mode
(set-frame-font "fontset-lucida14")
)))
)
Unfortunately it doesn't work, obviously because the selected fra
Hi Kevin,
problem solved!
Why is the Dired buffer opened in a new frame? Is it because you're
using `C-x 5 d', or is some other customization coming into play
(e.g. special-display-buffer-names)?
Yes, some other customizations are used; it's an option the user has.
(defvar dired-other-frame-alist
On 22 Apr 2005, at 10:23, Peter Dyballa wrote:
Have you tried M-x customize-group RET dired RET? This will show a few
dired-faces without settings special fonts or fontsets for the items.
If you set them then they'll be fixed to these values ...
Thanks, yes I've tried that but the problem remain
Joe Corneli math.utexas.edu> writes:
>I'm trying to set a different font for the dired mode. I would
like to
>make everything appear in "fontset-monaco12". I've tried setting
the
>faces (like dired-header), but that didn't work at all.
>
> Hm... Did you customize the faces, or just
Hi,
I'm trying to set a different font for the dired mode. I would like to
make everything appear in "fontset-monaco12". I've tried setting the
faces (like dired-header), but that didn't work at all.
Then I've tried this:
(add-hook 'dired-mode-hook (lambda () (set-frame-font
"fontset-mona
When a region (with several lines) is marked first and then the shown
part of the buffer is changed via the scrollbar or for example with
M-v, one boundary of the region will change to remain next to the
point, which moves to a new place when scrolling. Sometimes, the region
is heavily modified
David Kastrup gnu.org> writes:
> > Why not just (decode-char 'ucs #X2318) ?
>
Why not? It works!
Danke!
___
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
How can I specify strings for a menu item that have unicode-range
characters in them?
To be concrete, I'd like to specify the 'command sign' character (to
show a keyboard shortcut with the command key). The unicode ID of this
character is 0x2318, and I assume I'll have to convert this to the
in
Shug -
? still appears as an empty box
OK, I suggest you try the AquaMacs distribution, which comes
preconfigured.
Official site is
http://www.wordtech-software.com/Aquamacs.html
(but this is offline right now)
Description is here:
http://www.davids-world.com/archives/2005/04/aquamacs_an_ema.htm
Shug Boabby wrote:
i wish to use a slightly larger font in the cvs OS X Carbon build,
create a font set first:
(create-fontset-from-fontset-spec
"-apple-monaco-medium-r-normalx-14-*-*-*-*-*-fontset-monaco14,
ascii:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-*,
latin-iso8859-1:-apple-monac
Many thanks for your hints.
> Lastly: how do I change a menu item?
> I know how to add submenus to a menu with easychange.el, but I
couldn't
> figure out how to actually change the text of an arbitrary item. Is
> that possible?
Find the key-sequence corresponding to it with C-h k, then
(define-ke
I would like to do a couple of global-set-keys for a few basic
functions that appear in the menu bar. However, the new shortcuts don't
appear in the menu items, since they are still assigned (and should
be).
I understand the menu item shortcuts show what's defined first. Is
there a command lik
40 matches
Mail list logo