all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* global info in mode line
@ 2004-12-11 17:25 Albert Reiner
       [not found] ` <vw8pt1fa56i.fsf@berry.phys.ntnu.no>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Reiner @ 2004-12-11 17:25 UTC (permalink / raw)


Hi,

in my .emacs I have some commands that call keyboard-translate to
switch the roles of "Y" and "Z", but at times (specifically: when
pasting things via gpm) I have to turn that off.

What I would like is a way to add some indicator of the current
Y-Z-status to the mode line - any pointers to the relevant commands or
sections of the elisp manual (or even a ready solution) would be most
welcome.

TIA,

Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: global info in mode line
       [not found] ` <vw8pt1fa56i.fsf@berry.phys.ntnu.no>
@ 2004-12-13 16:59   ` Kevin Rodgers
  2004-12-13 17:15     ` Albert Reiner
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2004-12-13 16:59 UTC (permalink / raw)


Albert Reiner wrote:
> [Albert Reiner <areiner@tph.tuwien.ac.at>, 11 Dec 2004 18:25:38 +0100]:
> 
>>What I would like is a way to add some indicator of the current
>>Y-Z-status to the mode line
> 
> 
> Off-list I was pointed to the info node "Variables Used in the Mode
> Line"; my solution was to modify default-mode-line-format.

Better would be to add an entry to minor-mode-alist that indicates the
current Y-Z status.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: global info in mode line
  2004-12-13 16:59   ` Kevin Rodgers
@ 2004-12-13 17:15     ` Albert Reiner
  0 siblings, 0 replies; 3+ messages in thread
From: Albert Reiner @ 2004-12-13 17:15 UTC (permalink / raw)


[Kevin Rodgers <ihs_4664@yahoo.com>, Mon, 13 Dec 2004 09:59:29 -0700]:
> > Line"; my solution was to modify default-mode-line-format.
> 
> Better would be to add an entry to minor-mode-alist that indicates the
> current Y-Z status.

Thanks for the hint; indeed, that would be much cleaner.  The only
problem is: Because of my usage patterns the Y-Z-Status matters most
when sending mails with Gnus, but with (display-time) and on a console
most of the mode indicators do not fit into the 80 characters, and my
indicator becomes invisible.  The default-mode-line-format allows me
to put the indicator to the far left where it is always visible.

Thanks again,

Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-13 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-11 17:25 global info in mode line Albert Reiner
     [not found] ` <vw8pt1fa56i.fsf@berry.phys.ntnu.no>
2004-12-13 16:59   ` Kevin Rodgers
2004-12-13 17:15     ` Albert Reiner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.