From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#7812: 23.2; compilation-error-regexp-alist extremely unfriendly to customization interface Date: Wed, 19 Jan 2011 18:25:26 -0500 Message-ID: <22sjwov5ll.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1295481297 322 80.91.229.12 (19 Jan 2011 23:54:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 23:54:57 +0000 (UTC) Cc: 7812@debbugs.gnu.org To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 20 00:54:53 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfhrY-0005tu-PQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jan 2011 00:54:52 +0100 Original-Received: from localhost ([127.0.0.1]:53342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfhrY-0007lK-8U for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jan 2011 18:54:52 -0500 Original-Received: from [140.186.70.92] (port=57119 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfhrP-0007iP-H5 for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2011 18:54:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfhrO-0006DL-E4 for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2011 18:54:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfhrO-0006DH-CA for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2011 18:54:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PfhHt-0005w6-M9; Wed, 19 Jan 2011 18:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jan 2011 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7812 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7812-submit@debbugs.gnu.org id=B7812.129547906422796 (code B ref 7812); Wed, 19 Jan 2011 23:18:01 +0000 Original-Received: (at 7812) by debbugs.gnu.org; 19 Jan 2011 23:17:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfhHb-0005vd-BK for submit@debbugs.gnu.org; Wed, 19 Jan 2011 18:17:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfhHY-0005vR-Ow for 7812@debbugs.gnu.org; Wed, 19 Jan 2011 18:17:41 -0500 Original-Received: from localhost ([127.0.0.1]:56761) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PfhP4-0000hQ-Av; Wed, 19 Jan 2011 18:25:26 -0500 X-Spook: Rand Corporation smuggle Ermes Khaddafi Israel LLNL S Key X-Ran: %2EKGY-3,'Ojt];FEw0>T|~:v0~X%"#wx27D@-jb4O8 X-Hue: red X-Attribution: GM In-Reply-To: (Dave Abrahams's message of "Sun\, 09 Jan 2011 21\:03\:10 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Jan 2011 18:18:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43458 Archived-At: Dave Abrahams wrote: [customizing compilation-error-regexp-alist] > It was never awesome: it *should* be possible to add support for a > couple of unique tools without losing the benefits of all the builtin > matchers that will come along next time I upgrade emacs. It has > always been the case that if I customize one or two of these elements, > I'll never see new ones that are supplied by the maintainers on > upgrade... That is a general issue with customize, albeit more of one for options with long, complicated values where new ones might be added to the old elements. There is M-x customize-changed to point out where options have changed since a given Emacs release. In an ideal world maybe there could be some automatic, version-control like merging of options when you start a new Emacs version for the first time. > ...but now things are worse: I can't even add new alist elements > through the customize interface, and if do I add a single new one > using setq, all I see in the customize interface thenceforth is: > > (mapcar 'car compilation-error-regexp-alist-alist) compilation-error-regexp-alist has a bad custom :type. It does not allow you to do anything other than turn on/off the default settings. It is impossible to add a new element via customize, and doing so by hand will produce a mismatch. AFAICS, it isn't possible to have a custom type that allows you to both: i) toggle on/off the predefined options ii) add new elements of your own So feature i) will probably have to go.