unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32507: 27.0.50; text-quoting-style
@ 2018-08-23 10:58 Helmut Eller
  2018-08-23 13:52 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Eller @ 2018-08-23 10:58 UTC (permalink / raw)
  To: 32507

There is no option to disable quote substitution in format-message.  In
other words, there should be a value for text-quoting-style for which
the following assertion does not fail:

(let* (;(text-quoting-style '<something>)
       (x "'`´‘’‚“”„")
       (y (format-message x)))
  (cl-assert (equal x y)))





In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2018-08-23 built on caladan
Repository revision: a4a3c92e9de59bd0251f36326375cce898919edc
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)

Configured using:
 'configure --with-xpm=no --with-gif=no --with-tiff=no --with-jpeg=no
 --without-pop'

Configured features:
PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD GMP

Important settings:
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix






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

* bug#32507: 27.0.50; text-quoting-style
  2018-08-23 10:58 bug#32507: 27.0.50; text-quoting-style Helmut Eller
@ 2018-08-23 13:52 ` Eli Zaretskii
  2018-08-24  5:37   ` Helmut Eller
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2018-08-23 13:52 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 32507

> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Thu, 23 Aug 2018 12:58:30 +0200
> 
> There is no option to disable quote substitution in format-message.  In
> other words, there should be a value for text-quoting-style for which
> the following assertion does not fail:
> 
> (let* (;(text-quoting-style '<something>)
>        (x "'`´‘’‚“”„")
>        (y (format-message x)))
>   (cl-assert (equal x y)))

Seems to work for me with <something> == grave.





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

* bug#32507: 27.0.50; text-quoting-style
  2018-08-23 13:52 ` Eli Zaretskii
@ 2018-08-24  5:37   ` Helmut Eller
  2018-08-24  6:42     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Eller @ 2018-08-24  5:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32507

On Thu, Aug 23 2018, Eli Zaretskii wrote:

>> From: Helmut Eller <eller.helmut@gmail.com>
>> Date: Thu, 23 Aug 2018 12:58:30 +0200
>> 
>> There is no option to disable quote substitution in format-message.  In
>> other words, there should be a value for text-quoting-style for which
>> the following assertion does not fail:
>> 
>> (let* (;(text-quoting-style '<something>)
>>        (x "'`´‘’‚“”„")
>>        (y (format-message x)))
>>   (cl-assert (equal x y)))
>
> Seems to work for me with <something> == grave.

Yes, indeed.  I even had written a loop to try all possible values; must
have been buggy.

Sorry, for the noise.

Helmut





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

* bug#32507: 27.0.50; text-quoting-style
  2018-08-24  5:37   ` Helmut Eller
@ 2018-08-24  6:42     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2018-08-24  6:42 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 32507-done

tags 32507 notabug
thanks

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: 32507@debbugs.gnu.org
> Date: Fri, 24 Aug 2018 07:37:38 +0200
> 
> >> (let* (;(text-quoting-style '<something>)
> >>        (x "'`´‘’‚“”„")
> >>        (y (format-message x)))
> >>   (cl-assert (equal x y)))
> >
> > Seems to work for me with <something> == grave.
> 
> Yes, indeed.  I even had written a loop to try all possible values; must
> have been buggy.
> 
> Sorry, for the noise.

Well, it's hard to blame you because the value that makes this
possible is non-intuitive.  Perhaps we should have some more intuitive
alias, like 'literal or something.

Thanks, I'm closing the bug.





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

end of thread, other threads:[~2018-08-24  6:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23 10:58 bug#32507: 27.0.50; text-quoting-style Helmut Eller
2018-08-23 13:52 ` Eli Zaretskii
2018-08-24  5:37   ` Helmut Eller
2018-08-24  6:42     ` Eli Zaretskii

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