unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: jidanni@jidanni.org
Cc: 10258@debbugs.gnu.org
Subject: bug#10258: compilation-error-regexp-alist just assumes columns not characters
Date: Thu, 15 Dec 2011 19:06:13 -0500	[thread overview]
Message-ID: <jwvsjklbcv9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r507b5z5.fsf@jidanni.org> (jidanni@jidanni.org's message of "Wed, 14 Dec 2011 22:09:02 +0800")

> (setq compilation-error-screen-columns t);default, set once more for good luck.
> (make-variable-buffer-local 'compilation-error-screen-columns)
> (add-hook 'xquery-mode-hook
> 	  (function (lambda ()
> 		      (setq compilation-error-screen-columns nil))))

Better not call make-variable-buffer-local except on variables you have
defined yourself (e.g. in this case only do it in compile.el).
I.e. use

 (add-hook 'xquery-mode-hook
 	  (lambda ()
 	    (set (make-local-variable 'compilation-error-screen-columns) nil)))


-- Stefan





  reply	other threads:[~2011-12-16  0:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 20:18 bug#10258: compilation-error-regexp-alist just assumes columns not characters jidanni
2011-12-12 16:28 ` Stefan Monnier
2011-12-14 14:09 ` jidanni
2011-12-16  0:06   ` Stefan Monnier [this message]
2011-12-21 23:59 ` jidanni
2011-12-27 23:49   ` Stefan Monnier

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=jwvsjklbcv9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10258@debbugs.gnu.org \
    --cc=jidanni@jidanni.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).