unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 7561@debbugs.gnu.org
Subject: bug#7561: Soft hyphens should probably normally not be shown
Date: Mon, 06 Dec 2010 13:57:07 -0500	[thread overview]
Message-ID: <jwv7hfmohsj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTikRrDEfyQdCPxYyZsqf6jWP4Ac5ZAQbjSvaH=dN@mail.gmail.com> (Lennart Borgman's message of "Sun, 5 Dec 2010 17:57:30 +0100")

> The soft hyphen (173) is currently shown in the buffer. That is
> unexpected to me though it seems to be a "hard problem":

>   Soft hyphen (SHY) - a hard problem?
>   http://www.cs.tut.fi/~jkorpela/shy.html

> I would expect it to be shown only if a line break happens within a word.

Regardless of the controversies over its actual semantics, Emacs
historically has tended to display all chars (control or not), because
it is meant to give you access to the markup rather than its rendering.

Admittedly, over time, Emacs has added various wysiwyg-ish features, but
it is still the case that completely hiding a char, by default, is
considered as undesirable since it makes it more difficult to manipulate
it (delete/insert/move/...).

So if/when we decide to hide such a char, it will be under the control
of something like a variable which a major-mode can set to indicate that
this buffer is meant as the rendering of a piece of text, rather than
meant for editing that text.


        Stefan





  reply	other threads:[~2010-12-06 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 16:57 bug#7561: Soft hyphens should probably normally not be shown Lennart Borgman
2010-12-06 18:57 ` Stefan Monnier [this message]
2010-12-06 19:42   ` Lennart Borgman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv7hfmohsj.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7561@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).