From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: How to change Perl mode indentation to two spaces and no tabs? Date: Tue, 16 Jun 2015 02:48:06 +0200 Organization: Aioe.org NNTP Server Message-ID: <87y4jka37d.fsf@debian.uxu> References: <87d20wx1wz.fsf@debian.uxu> <877fr4pou3.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434415518 4795 80.91.229.3 (16 Jun 2015 00:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2015 00:45:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 16 02:45:17 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Z4f09-0001kQ-1k for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jun 2015 02:45:17 +0200 Original-Received: from localhost ([::1]:37012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4f08-0001VR-AY for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jun 2015 20:45:16 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:F9ObnaidsalVAEICG69c4bzjI0E= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:212680 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104964 Archived-At: Kenneth Wolcott writes: > Now this is *weird* :-) > > This time I edited body of the function, in > ~/.emacs, using emacs, removing pieces, adding > pieces (I'm not good at LISP!), just experimenting, > and resulted in the original function definition. Well, it happens. I think my rephrasing makes it more simple and less error-prone but the puzzle pieces were unknown to me until I saw Mr. Mastro's code, which by the way works instantly for me just yanking it into ~/.emacs. As a side note, I don't understand why one cannot get this by the use of a single variable value. I seems like a thing one would just store in a (1) variable and then have that configurable by the user, and propagated down the pipe. Why should it be there three times - out of which, once negated? If there is a good answer, this is a serious question, if there isn't, consider it rhetorical... > Now the two-space indentation works :-) ... Thanks, > it seems to be working! No problem, again, John Mastro is the guy who solved it. -- underground experts united http://user.it.uu.se/~embe8573