unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Saving when the coding system can't code all buffer characters
Date: Sat, 23 Dec 2006 08:31:39 +0100	[thread overview]
Message-ID: <8564c3xe3o.fsf@lola.goethe.zz> (raw)
In-Reply-To: <458C068F.5070508@student.lu.se> (Lennart Borgman's message of "Fri\, 22 Dec 2006 17\:23\:43 +0100")

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> David Kastrup wrote:
>>
>> Also an idea, but the warning is more dissociated from the buffer
>> than a highlight and tooltip would be.
>>   
>
> The warning stays visible afterwards and that is very good in a case
> like this. A highlight is also very good, but a tooltip is far to
> obscure IMHO.

A tooltip may be too obscure as the sole source of information (hardly
surprising since that is pretty much generally true for tooltips).  As
additional info, it certainly is helpful.

We already put tooltips on raw/illicit bytes in utf-8 buffers.  It
seems like it would be natural to do this for unsaveable bytes, too.
Probably overlays rather than text properties are appropriate for
that, however, since the unsaveability is rather a property of the
buffer (and its encoding) than the text: with bad utf-8 bytes, it is
rather a text property, in contrast.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2006-12-23  7:31 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-22 11:15 Saving when the coding system can't code all buffer characters LENNART BORGMAN
2006-12-22 11:50 ` Eli Zaretskii
2006-12-22 15:48   ` David Kastrup
2006-12-22 16:23     ` Lennart Borgman
2006-12-23  7:31       ` David Kastrup [this message]
2006-12-31 14:36       ` Sascha Wilde
2006-12-31 16:04         ` Lennart Borgman
2006-12-31 19:27           ` Aidan Kehoe
2007-01-09  7:23         ` Kenichi Handa
2006-12-22 17:35   ` Lennart Borgman
2006-12-23 20:14   ` Richard Stallman
2006-12-23 20:41     ` Lennart Borgman
2006-12-24 17:09       ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-12-21 22:40 Lennart Borgman
2006-12-22 10:50 ` Eli Zaretskii
2006-12-22 21:03 ` Richard Stallman
2006-12-23 12:09   ` Kenichi Handa
2006-12-24  1:35     ` Richard Stallman
2006-12-25  6:00       ` Kenichi Handa
2006-12-26  2:25         ` Richard Stallman
2006-12-27  1:39           ` Kenichi Handa
2006-12-27  2:59             ` Lennart Borgman (gmail)
2006-12-27  5:13               ` Kenichi Handa
2006-12-27 13:27                 ` Eli Zaretskii
2006-12-27 21:16                   ` Richard Stallman
2006-12-28  2:09                   ` Kenichi Handa
2006-12-27  8:28             ` Eli Zaretskii
2006-12-27 11:06               ` Kenichi Handa
2006-12-27 12:20                 ` Eli Zaretskii
2006-12-27 12:37                   ` Lennart Borgman (gmail)
2006-12-27 14:17                     ` Eli Zaretskii
2006-12-28  0:31                   ` Kenichi Handa
2006-12-27 21:16             ` Richard Stallman
2006-12-28  1:32               ` Kenichi Handa
2006-12-28  4:20               ` Eli Zaretskii
2006-12-29 15:44                 ` Richard Stallman

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=8564c3xe3o.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=eliz@gnu.org \
    --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 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).