bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: the menu Options / Truncate Long Lines in This Buffer not working co


From: Dan Nicolaescu
Subject: Re: the menu Options / Truncate Long Lines in This Buffer not working correctly
Date: Thu, 10 Apr 2008 21:26:00 -0700

Glenn Morris <rgm@gnu.org> writes:

  > Dan Nicolaescu wrote:
  > 
  > >   > I'm not sure whether one should go further and define a new command
  > >   > linked to the toggle, that if needed makes
  > >   > truncate-partial-width-windows buffer-local and sets it to nil, before
  > >   > setting truncate-lines appropriately.
  > >
  > > IMO, that would be TRTD, it would make the menu keep its promise to
  > > toggle truncating long lines in the buffer.
  > 
  > I don't think a menu toggle can ever work right. The problem is
  > controlled by two variables, and you would never be able to get back
  > to the initial state, unless you made it rather complex.

Is getting back to the initial state important?  Just toggling correctly
seems more important, as long as the menu entry is a toggle.  From the
user point of view there are 2 visible states: lines are / are not
truncated.  The fact that emacs has more complexity than that underneath
is just an unfortunate detail... (Obviously this is all IMO)




reply via email to

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