From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: Display "dash" as "minus" in programming language mode? Date: Thu, 09 Jul 2009 20:04:33 +0900 Organization: NEC Electronics Message-ID: References: <874otm28kw.fsf@physik.rwth-aachen.de> <87hbxmluqk.fsf@galatea.local> <873a9670ic.fsf@physik.rwth-aachen.de> <87y6qyi5ex.fsf@physik.rwth-aachen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247139662 4594 80.91.229.12 (9 Jul 2009 11:41:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 11:41:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 09 13:40:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOrzh-0006wb-Dg for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 13:40:53 +0200 Original-Received: from localhost ([127.0.0.1]:41435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOrzg-00048I-U2 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 07:40:52 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net o2+tv0gEtV8S5LqHHU0n5gHs2ViiziGi3gPxJy/tjtic+ls3Rq Cancel-Lock: sha1:MJ2QIdQ0+f5AUqWlILGzj7Fqa6g= sha1:kWQhJK69KjViLMZ7p/T/iYvLFbA= System-Type: x86_64-unknown-linux-gnu Blat: Foop Original-Xref: news.stanford.edu gnu.emacs.help:170689 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65892 Archived-At: Torsten Bronger 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.