all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: the menu Options / Truncate Long Lines in This Buffer not working correctly
Date: Thu, 10 Apr 2008 13:58:54 -0400	[thread overview]
Message-ID: <trr6ddwq01.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <200804101358.m3ADw3uK011838@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 10 Apr 2008 06:58:03 -0700")

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.




  reply	other threads:[~2008-04-10 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trr6ddwq01.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=dann@ics.uci.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.