From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Can we not introduce frivolous indentation change to define-minor-mode? Date: Wed, 6 Jan 2016 17:54:05 +0200 Message-ID: <568D389D.60401@yandex.ru> References: <83d1tg57p6.fsf@gnu.org> <87fuybqdby.fsf@gmail.com> <87lh82vq6t.fsf@gmail.com> <87d1tevmjb.fsf@gmail.com> <87io36k9be.fsf@bernoul.li> <8737uavhcu.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1452095660 11985 80.91.229.3 (6 Jan 2016 15:54:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 15:54:20 +0000 (UTC) Cc: Leo Liu , Artur Malabarba , emacs-devel To: Oleh Krehel , Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 06 16:54:19 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 1aGqPi-0007JJ-HP for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2016 16:54:18 +0100 Original-Received: from localhost ([::1]:54871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqPh-0007VT-TG for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2016 10:54:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqPd-0007Sk-Mi for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:54:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGqPZ-0008S3-HG for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:54:13 -0500 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:33735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqPZ-0008Rx-9U for emacs-devel@gnu.org; Wed, 06 Jan 2016 10:54:09 -0500 Original-Received: by mail-lf0-x236.google.com with SMTP id p203so317741272lfa.0 for ; Wed, 06 Jan 2016 07:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=k2LZXu3gyVruW6JpD6nMsmGJVAI82M/Kn0ZNzNq/R1Q=; b=lygTqOFW12FAEExCNR32bsMfdfcyN4C2vKcDbhJwQtBr2pkr/nTR26jila9TXfMzoZ 0oNk/A3aRyuf34txdmY88uNzklg5jP/dy0RQyVUy/OR2K89uOcUaWtJkqGbdsFlckfIL Xv3dmkhs2GCnO0zV22Lx07Xa+GmWWK/KworlQgiIMod3oukBjnCMaI4lh7kEIDWIOqJu 91Nj+8bAs12fl1R/HhEGrWk3NEU+thTr+2hZ5DHhqQ6qkdFa5AFWj5DQ83vTWvXkt5u/ Artr9dHqYN0StXPm+nERGFxOikNAPtwEMHhspXwbrvayI0kAhsU/R/ziBFmqUIgCzg4s Cj0g== X-Received: by 10.25.83.209 with SMTP id h200mr17725296lfb.129.1452095648290; Wed, 06 Jan 2016 07:54:08 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id l129sm3635671lfl.37.2016.01.06.07.54.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jan 2016 07:54:07 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0 In-Reply-To: <8737uavhcu.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 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:197703 Archived-At: On 01/06/2016 05:48 PM, Oleh Krehel wrote: > It works fine only for the default setting: > > (setq lisp-indent-function 'lisp-indent-function) We use the default setting in the Emacs sources, and recommend it for third-party Elisp as well. If you're adamant on using common-lisp-indent-function, why not change the `indent' property of `define-minor-mode' in your own config? > which is problematic for me in several other areas (indentation of > quoted lists, vectors, cl-labels etc). As discussed in the relevant bug, we'll gladly take a patch for quoted lists. For vectors too, I assume; I haven't noticed this problem much before.