emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: blink-cursor frame parameter


From: Drew Adams
Subject: RE: blink-cursor frame parameter
Date: Sun, 17 May 2009 14:47:50 -0700

> > There doesn't seem to be a frame parameter that corresponds 
> > to whether and how the cursor blinks.
> >
> > Other modes, such as menu-bar-mode, tool-bar-mode, 
> > scroll-bar-mode, and fringe-mode all act via a frame
> > parameter. Why not blink-cursor-mode also?
> 
> Do we really need this for the sake of completeness?

Dunno. I was thinking that someone might define a particular class (type) or set
of frames, and associate a given set of frame parameter values with the set. I
do this with thumbnail frames, for instance. You can set the frame parameter
values to use for thumbnail frames. 

I modify (advise) commands such as `menu-bar-mode' so that if you turn on or off
such a mode it won't necessarily affect the thumbnail frames. If you have an
explicit `menu-bar-lines' setting for thumbnail frames, then that is used for
them instead. If you have no such setting, then the command affects thumbnail
frames too.

It's just an example. The point is that users or libraries might create settings
for different sets or types of frames, and then want to control their properties
using frame parameters.

> IMO, you either like the blinking cursor or not.

Maybe you don't like it generally, but you like it for some class of frames
(e.g. thumbnails or frames showing a process buffer or whatever).

> Not that the user can like it in one frame and
> hate in another frame (provided that the user has no multiple 
> personality :)

That's just the case I had in mind. Not a multiple personality, but different
kinds of frames, with different uses and so different properties/settings.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]