unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Display "dash" as "minus" in programming language mode?
Date: Thu, 09 Jul 2009 20:04:33 +0900	[thread overview]
Message-ID: <buozlbep16m.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: 87y6qyi5ex.fsf@physik.rwth-aachen.de

Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
> I couldn't restrict the effect to (Python) code, so all dashs in
> comments and strings became minuses, too.  But the "\\B-\\B" worked
> quite well.

ah, ic...

Personally I think the default dejavu sans mono hyphen looks kind crappy
in comments and strings too, so a global replace would be fine, but I
suppose ymmv...

[I'd go so far as to call it a bug in dejavu sans mono -- a monospaced
font shouldn't have such a dinky hyphen.  I guess they probably just
copied it from dejavu sans.  Hmm, maybe I oughta file a bug report...]

-Miles

-- 
Accordion, n. An instrument in harmony with the sentiments of an assassin.


  reply	other threads:[~2009-07-09 11:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 21:01 Display "dash" as "minus" in programming language mode? Torsten Bronger
2009-07-08 21:39 ` Pascal J. Bourguignon
2009-07-09  7:56   ` Torsten Bronger
2009-07-09  9:00     ` Miles Bader
2009-07-09  9:15       ` Torsten Bronger
2009-07-09 11:04         ` Miles Bader [this message]
2009-07-10 14:15     ` Torsten Bronger
2009-07-09  1:23 ` Kevin Rodgers

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=buozlbep16m.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=help-gnu-emacs@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.
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).