From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Using "Emacs Configure" **and** modifying .emacs Date: Sat, 12 Aug 2017 12:03:33 +0200 Message-ID: <867ey9qf0q.fsf@zoho.com> References: <1502436066.2568371.1070085968.1D25E0E7@webmail.messagingengine.com> <87tw1ekxgo.fsf@127.0.0.1> <867ey9sva2.fsf@zoho.com> <86378xskth.fsf@zoho.com> <20170812073057.GB20873@tuxteam.de> <86bmnlqlic.fsf@zoho.com> <20170812080204.GC20873@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502532274 26720 195.159.176.226 (12 Aug 2017 10:04:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 10:04:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 12:04:30 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgTHR-0006WA-S1 for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 12:04:29 +0200 Original-Received: from localhost ([::1]:40941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgTHT-0001Sb-Op for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 06:04:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgTGp-0001Rm-JU for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 06:03:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgTGl-0003Uf-KO for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 06:03:51 -0400 Original-Received: from [195.159.176.226] (port=46085 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgTGl-0003UH-D1 for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 06:03:47 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dgTGc-0004Dx-T2 for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:03:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 62 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:6hEkMlITcZUEIr+nsUpHx9kjHcU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:114003 Archived-At: tomas wrote: > This is waht I meant by "guts": imagine > Tramp, which uses some access method deep in > another module, which then, for the first > time, needs the variable. That happens > dynamically, at the moment you try to access > a file dependent on this method, long > (perhaps weeks) after you set the variable. > Not very debugging-friendly. It is 50/50 if all this superstructure/post-processing really does it more debugging-friendly *or* if it just makes it more complicated around a situation that is bad to begin with. Better to cut the head of the snake that take your chances with the cobra dance. > Similarly (just another aspect of the same > thing), this can do away with that pesky > "eval-after-load" you'd need with the > setq approach. If you `require' all the stuff that you need step one, you don't need to bother with that. (And it is also a good idea in general to do so.) Find out where the variable is defined (with the help system), require the module that corresponds with the file, set the variable, byte compile, done. Also, on things that are pesky. I think it is good pesky stuff are around. Or, well... perhaps not "good". But I don't want to dispose of any of them. You should be able to write anything with Lisp, including horrible program in even worse a style! An example is indentation. I always do that and rearrange stuff until it is exactly like I want it. Perhaps someday long ago, this was a time loss. But now, with functions, shortcuts, finger habits (muscle memory), and typing, it is actually a time-and-pleasure *gain* since it makes me more relaxed and less prone to have bugs, and quicker to find them. And you know, "may I indent your code?" is the No. 1 hacker insult. Still, when I wrote Python some ten years ago, I don't know maybe that has changed, but then indentation was mandatory in a certain way and this happened as you typed! Which was horrible and took the whole joy out of it, not to mention there are tons of "indentation schemes" that I use which I couldn't use. So what this long story is telling you is - you understand what I mean, right? -- underground experts united http://user.it.uu.se/~embe8573