all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Problems with info (emacs version)
Date: Tue, 3 Jun 2003 08:49:18 -0500 (CDT)	[thread overview]
Message-ID: <200306031349.h53DnIc24803@eel.dms.auburn.edu> (raw)
In-Reply-To: <ilur86bk8i8.fsf@latte.josefsson.org> (message from Simon Josefsson on Tue, 03 Jun 2003 07:58:07 +0200)

Simon Josefsson wrote:

   I'd say this is a bug in the mail sending part of Emacs.  Message asks
   the user if she knows about the hidden parts.

It does not seem to do that in the concrete example I gave.  I am not
terribly familiar with message-mode (I use mail-mode), but
message-mode does not seem to check for or ask about the display
property.  Also, to respond to Miles, the invisibility property is
already in yank-excluded-properties.  There is no "invisible" text
around in the example (that is there are no invisibility properties
around), only text you can not see, because it has the display
property.  message-mode behaves the same as mail-mode in the example,
without any warning, although it does seem to get the FCC correct.

I should say that a proposed change by Stefan would get rid of the
very concrete problem with info I showed.  But even with the
invisibility property, which is in yank-excluded-properties by
default, problems remain when a user yanks a larger piece of text into
a mail buffer or first saves the text to file, then inserts the file
(which I sometimes do).  The user may not carefully double check the
yanked or inserted text, because he "knows" (or believes he "knows)
what is in there.

   > Do you consider the above a "real" problem?  I do.

   Me too, but I don't think the problem is with info.

I do believe that there are two problems with info.

One would be eliminated by a change proposed by Stefan.  That problem
is that I believe that it uses the display property in an
inappropriate way.  The display property is nice to make the text
"appear differently" (but with the same content), to make a whitespace
string display a picture and similar, but I believe that the following
info-style use is inappropriate:

You have a file.  You want to make some text in the file invisible,
but at the same time you also want to do some aligning.  Hence you
give the text a whitespace string as display property.  The result is
"visible text that you just can not see".  You trick the user, you
trick all Elisp code dealing with invisible text, including message
mode's warning mechanism.

The second claim I am making is that if you present the user with a
buffer containing invisible text, you should always make sure that the
user is aware of the invisible text and provide him with a convenient
(even for less sophisticated users) way to make that text visible.
Otherwise plenty of problems could occur.  I proposed to bind a
visibility toggling command to, say, `v' in info.

Sincerely,

Luc.

  parent reply	other threads:[~2003-06-03 13:49 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02  3:33 Problems with info (emacs version) Luc Teirlinck
2003-06-02  4:29 ` Eli Zaretskii
2003-06-02  6:51   ` Kenichi Handa
2003-06-03  4:06   ` Richard Stallman
2003-06-03  4:18     ` Luc Teirlinck
2003-06-02 17:17 ` Stefan Monnier
2003-06-02 18:23   ` Luc Teirlinck
2003-06-03  4:06 ` Richard Stallman
2003-06-03  4:45   ` Luc Teirlinck
2003-06-03 18:03     ` Robert J. Chassell
2003-06-03 18:38       ` Luc Teirlinck
2003-06-03  5:22   ` Luc Teirlinck
2003-06-03  5:58     ` Simon Josefsson
2003-06-03  6:07       ` Miles Bader
2003-06-03  6:35         ` Simon Josefsson
2003-06-03  6:46           ` Miles Bader
2003-06-03 19:15             ` Simon Josefsson
2003-06-03 19:25               ` Miles Bader
2003-06-03 19:46                 ` Simon Josefsson
2003-06-03 19:58                   ` Luc Teirlinck
2003-06-03 20:05                     ` Simon Josefsson
2003-06-03 23:26                   ` Miles Bader
2003-06-03 13:49       ` Luc Teirlinck [this message]
2003-06-03 14:56         ` David Kastrup
2003-06-03 16:23           ` Stefan Monnier
2003-06-03 16:24           ` Luc Teirlinck
2003-06-05  0:08             ` Richard Stallman
2003-06-03 16:45           ` Luc Teirlinck
2003-06-03 19:23         ` Simon Josefsson
2003-06-03 19:40           ` Luc Teirlinck
2003-06-05  0:07         ` Richard Stallman
2003-06-03 14:07       ` Luc Teirlinck
2003-06-03 18:11     ` Robert J. Chassell
2003-06-04  8:53     ` Richard Stallman
2003-06-04 18:05       ` Luc Teirlinck

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=200306031349.h53DnIc24803@eel.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /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.