unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What is lisp/textmodes/underline.el?
@ 2012-02-26  0:09 Aurélien Aptel
  2012-02-26  0:45 ` Peter Dyballa
  2012-02-26  0:52 ` Leo
  0 siblings, 2 replies; 3+ messages in thread
From: Aurélien Aptel @ 2012-02-26  0:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I've stumbled upon the functions (un)underline-region and I was
wondering what they were used for. Obviously they were supposed to
(un)underline but they do it in a weird way. Basically,
underline-region adds "_\b" before every character in the region where
\b is ^H aka ascii backspace.

Is this some legacy code that should be removed?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What is lisp/textmodes/underline.el?
  2012-02-26  0:09 What is lisp/textmodes/underline.el? Aurélien Aptel
@ 2012-02-26  0:45 ` Peter Dyballa
  2012-02-26  0:52 ` Leo
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2012-02-26  0:45 UTC (permalink / raw)
  To: Aurélien Aptel; +Cc: help-gnu-emacs


Am 26.2.2012 um 01:09 schrieb Aurélien Aptel:

> Is this some legacy code that should be removed?

If the man pages files on HP-UX don't have _^H then this time might have come. But it's also possible that on other UNIX systems with good terminal support, which I do not know, this is still used to emphasise words...

--
Greetings

  Pete

Experience is what you get when you don't get what you want.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What is lisp/textmodes/underline.el?
  2012-02-26  0:09 What is lisp/textmodes/underline.el? Aurélien Aptel
  2012-02-26  0:45 ` Peter Dyballa
@ 2012-02-26  0:52 ` Leo
  1 sibling, 0 replies; 3+ messages in thread
From: Leo @ 2012-02-26  0:52 UTC (permalink / raw)
  To: help-gnu-emacs

On 2012-02-26 08:09 +0800, Aurélien Aptel wrote:
> I've stumbled upon the functions (un)underline-region and I was
> wondering what they were used for. Obviously they were supposed to
> (un)underline but they do it in a weird way. Basically,
> underline-region adds "_\b" before every character in the region where
> \b is ^H aka ascii backspace.
>
> Is this some legacy code that should be removed?

There are some bits of elisp code in Emacs that are useless. I have
never heard of this underline.el and never used it. Feel free to open a
bug to remove it.

Leo




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-26  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26  0:09 What is lisp/textmodes/underline.el? Aurélien Aptel
2012-02-26  0:45 ` Peter Dyballa
2012-02-26  0:52 ` Leo

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).