From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: Can we not introduce frivolous indentation change to define-minor-mode? Date: Wed, 06 Jan 2016 16:48:49 +0100 Message-ID: <8737uavhcu.fsf@gmail.com> References: <83d1tg57p6.fsf@gnu.org> <87fuybqdby.fsf@gmail.com> <87lh82vq6t.fsf@gmail.com> <87d1tevmjb.fsf@gmail.com> <87io36k9be.fsf@bernoul.li> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452095342 6351 80.91.229.3 (6 Jan 2016 15:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 15:49:02 +0000 (UTC) Cc: Leo Liu , Artur Malabarba , emacs-devel To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 06 16:49:01 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGqKa-0002aC-FJ for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2016 16:49:00 +0100 Original-Received: from localhost ([::1]:54829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqKZ-0002MF-UQ for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2016 10:48:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqKV-0002Jz-Ox for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:48:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGqKR-0006y6-Pe for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:48:55 -0500 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqKR-0006y0-JT for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:48:51 -0500 Original-Received: by mail-wm0-x229.google.com with SMTP id b14so81452857wmb.1 for ; Wed, 06 Jan 2016 07:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=29TYwUDelYYUwInCAH1YONef1kZDr5zvOTFLcZXR1rI=; b=ZZ6Wy/TtY1cECosaFq0MY/7F0Ub89ItI4AyFp/fK/6dj4Se92E+tPPwR6UY4UCOgtQ m8THaD+z3z9ZK5ZRDGSheb3y51DnQwEt4/1A1J80+a6t7ZaVW9jyw4HoCia2sv+OKP2o W06V79Bd49MPl3rlpbjmli2235GhpINALBtCmFBf7690IIG6cuh1CW8OjdUOJMssB2z/ UuKJ9B6G6N1wY4hvYJBu4PxZj3b6fyeQ4pj8Gemm1+cx4wDNQUVqW0FW9O0vALb1rEWu UnzqKUpgesQ1QnKp/DLoGWmCzXRWq3RV3cLLzgG5/4fVjv4/Bgd03ty7oo2Ejr/w2YaJ AAYA== X-Received: by 10.194.171.198 with SMTP id aw6mr3328501wjc.99.1452095330898; Wed, 06 Jan 2016 07:48:50 -0800 (PST) Original-Received: from firefly ([91.219.111.102]) by smtp.gmail.com with ESMTPSA id s129sm9269128wmf.18.2016.01.06.07.48.49 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 06 Jan 2016 07:48:49 -0800 (PST) In-Reply-To: <87io36k9be.fsf@bernoul.li> (Jonas Bernoulli's message of "Wed, 06 Jan 2016 16:37:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197702 Archived-At: Jonas Bernoulli writes: > With > > (defmacro define-minor-mode (...) > "..." > (declare ... (indent defun)) > ...) > > we get > > (define-minor-mode foo-mode > "doc-string" > :global t) Thanks for explaining, but that's not what I get with my config: (setq lisp-indent-function 'common-lisp-indent-function) It works fine only for the default setting: (setq lisp-indent-function 'lisp-indent-function) which is problematic for me in several other areas (indentation of quoted lists, vectors, cl-labels etc).