* the menu Options / Truncate Long Lines in This Buffer not working correctly @ 2008-04-07 5:11 ` Dan Nicolaescu 2008-04-10 7:57 ` Glenn Morris 2008-05-29 23:15 ` bug#123: marked as done (the menu Options / Truncate Long Lines in This Buffer not working correctly) Emacs bug Tracking System 0 siblings, 2 replies; 6+ messages in thread From: Dan Nicolaescu @ 2008-04-07 5:11 UTC (permalink / raw) To: bug-gnu-emacs Run: emacs -Q After that: C-x 3 now select the menu "Options / Truncate Long Lines in This Buffer" the toggle in the menu it is turning on and off, but the truncation mode does not toggle the way the menu entry describes it. This is quite confusing for people that are not very familiar with emacs. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: the menu Options / Truncate Long Lines in This Buffer not working correctly 2008-04-07 5:11 ` the menu Options / Truncate Long Lines in This Buffer not working correctly Dan Nicolaescu @ 2008-04-10 7:57 ` Glenn Morris 2008-04-10 13:58 ` Dan Nicolaescu 2008-05-29 23:15 ` bug#123: marked as done (the menu Options / Truncate Long Lines in This Buffer not working correctly) Emacs bug Tracking System 1 sibling, 1 reply; 6+ messages in thread From: Glenn Morris @ 2008-04-10 7:57 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: bug-gnu-emacs Dan Nicolaescu wrote: > C-x 3 > > now select the menu > "Options / Truncate Long Lines in This Buffer" > the toggle in the menu it is turning on and off, but the truncation mode > does not toggle the way the menu entry describes it. Hopefully this is better now. 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. Probably that is a bridge too far. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: the menu Options / Truncate Long Lines in This Buffer not working correctly 2008-04-10 7:57 ` Glenn Morris @ 2008-04-10 13:58 ` Dan Nicolaescu 2008-04-10 17:58 ` Glenn Morris 0 siblings, 1 reply; 6+ messages in thread From: Dan Nicolaescu @ 2008-04-10 13:58 UTC (permalink / raw) To: Glenn Morris; +Cc: bug-gnu-emacs Glenn Morris <rgm@gnu.org> writes: > Dan Nicolaescu wrote: > > > C-x 3 > > > > now select the menu > > "Options / Truncate Long Lines in This Buffer" > > the toggle in the menu it is turning on and off, but the truncation mode > > does not toggle the way the menu entry describes it. > > Hopefully this is better now. It's better in the sense that the toggle is displayed correctly. But unfortunately it is not very useful for a user that does not know the subtleties of truncating lines. > 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. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: the menu Options / Truncate Long Lines in This Buffer not working correctly 2008-04-10 13:58 ` Dan Nicolaescu @ 2008-04-10 17:58 ` Glenn Morris 2008-04-11 4:26 ` Dan Nicolaescu 0 siblings, 1 reply; 6+ messages in thread From: Glenn Morris @ 2008-04-10 17:58 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: bug-gnu-emacs 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. Even if you simplify things by getting rid of truncate-partial-width-windows, there are still three possible states: always truncate lines, never truncate lines, truncate only in partial width windows. You could have a radio button I suppose, but it all seems a bit much to me. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: the menu Options / Truncate Long Lines in This Buffer not working correctly 2008-04-10 17:58 ` Glenn Morris @ 2008-04-11 4:26 ` Dan Nicolaescu 0 siblings, 0 replies; 6+ messages in thread From: Dan Nicolaescu @ 2008-04-11 4:26 UTC (permalink / raw) To: Glenn Morris; +Cc: bug-gnu-emacs 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) ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#123: marked as done (the menu Options / Truncate Long Lines in This Buffer not working correctly) 2008-04-07 5:11 ` the menu Options / Truncate Long Lines in This Buffer not working correctly Dan Nicolaescu 2008-04-10 7:57 ` Glenn Morris @ 2008-05-29 23:15 ` Emacs bug Tracking System 1 sibling, 0 replies; 6+ messages in thread From: Emacs bug Tracking System @ 2008-05-29 23:15 UTC (permalink / raw) To: Glenn Morris [-- Attachment #1: Type: text/plain, Size: 926 bytes --] Your message dated Thu, 29 May 2008 19:07:02 -0400 with message-id <18495.14102.57759.187120@fencepost.gnu.org> and subject line Re: the menu Options / Truncate Long Lines in This Buffer not working correctly has caused the Emacs bug report #123, regarding the menu Options / Truncate Long Lines in This Buffer not working correctly to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) -- 123: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=123 Emacs Bug Tracking System Contact don@donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 5020 bytes --] From: Dan Nicolaescu <dann@ics.uci.edu> To: bug-gnu-emacs@gnu.org Subject: the menu Options / Truncate Long Lines in This Buffer not working correctly Date: Sun, 06 Apr 2008 22:11:57 -0700 Message-ID: <200804070511.m375BvoX011974@sallyv1.ics.uci.edu> Run: emacs -Q After that: C-x 3 now select the menu "Options / Truncate Long Lines in This Buffer" the toggle in the menu it is turning on and off, but the truncation mode does not toggle the way the menu entry describes it. This is quite confusing for people that are not very familiar with emacs. [-- Attachment #3: Type: message/rfc822, Size: 1291 bytes --] From: Glenn Morris <rgm@gnu.org> To: 123-done@emacsbugs.donarmstrong.com Subject: Re: the menu Options / Truncate Long Lines in This Buffer not working correctly Date: Thu, 29 May 2008 19:07:02 -0400 Message-ID: <18495.14102.57759.187120@fencepost.gnu.org> I think this has been fixed as well as it can be. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-05-29 23:15 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <18495.14102.57759.187120@fencepost.gnu.org> 2008-04-07 5:11 ` the menu Options / Truncate Long Lines in This Buffer not working correctly Dan Nicolaescu 2008-04-10 7:57 ` Glenn Morris 2008-04-10 13:58 ` Dan Nicolaescu 2008-04-10 17:58 ` Glenn Morris 2008-04-11 4:26 ` Dan Nicolaescu 2008-05-29 23:15 ` bug#123: marked as done (the menu Options / Truncate Long Lines in This Buffer not working correctly) Emacs bug Tracking System
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.