From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JohnF Newsgroups: gmane.emacs.help Subject: Re: beginner questions Date: Sun, 29 Sep 2013 07:27:41 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: <87eh8d2qxi.fsf@informatimago.com> <87siwt12nd.fsf@informatimago.com> <87fvspyndr.fsf@informatimago.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1380439818 30423 80.91.229.3 (29 Sep 2013 07:30:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2013 07:30: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 Sun Sep 29 09:30:19 2013 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 1VQBSM-0007vg-0m for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Sep 2013 09:30:18 +0200 Original-Received: from localhost ([::1]:43820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQBSL-0006Bs-K1 for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Sep 2013 03:30:17 -0400 Original-Path: usenet.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1380439661 19351 166.84.1.3 (29 Sep 2013 07:27:41 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sun, 29 Sep 2013 07:27:41 +0000 (UTC) User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (NetBSD/5.1.2 (i386)) Original-Xref: usenet.stanford.edu gnu.emacs.help:201472 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:93741 Archived-At: Pascal J. Bourguignon wrote: > JohnF writes: > >> Two more questions, please. First (as also mentioned in post >> further down this thread), when I earlier said that fundamental-mode >> stops parentheses matching, I'd only actually checked . >> Unfortunately, it still matches (stuff), [stuff], {stuff}. >> Any way to turn that all off? > > M-x customize-variable RET blink-matching-paren RET Thanks again, Pascal. That works great (and the elisp example it provides by rewriting the .emacs file is terrific, too). Only rhetorical question is why I couldn't manage to find that while trying to google the answer myself, before posting the question. >> Secondly, I figured I could easily get that fundamental-mode, as >> well as other initializations, into .emacs by myself with a little >> googling. But I tried all of (separately and together) >> ; -*- mode: Fundamental;-*- Aside: I'm sure you realize I'm writing (trying to write) "; [dash][asterisk][dash] mode: etc" above, although it shows up on my reader as a bold asterisk without dashes. > ;; -*- mode: fundamental;-*- I thought I'd googled that particular "executable comment" with one semicolon, but I'm currently failing to re-locate the page that contained the explanation. I'd understood it kind of like a postscript file comment that actually gets interpreted. Anyway, I changed it to two semicolons like you suggest, and it seems to work (both ways, as far as I can tell). >> (setq-default major-mode 'fundamental-mode) >> (setq major-mode 'fundamental-mode) > > M-x customize-variable RET default-major-mode RET That coughs up a [No match], although it does recognize a major-mode variable. But that's already set to fundamental-mode, probably thanks to your auto-mode-alist suggestion below, which solved the problem. >> (fundamental-mode) >> and nothing works. Still comes up in its own default mode. > > You should also set auto-mode-alist > (setq auto-mode-alist '(("." . fundamental-mode))) Yup, that solved the problem. And googling your answers (e.g., googling blink-matching-paren) nicely fills in the explanations of what's going on (once I know the answer, it's a lot easier to google it:). Now I'll have to find a quick-and-dirty elisp tutorial (tried googling bnf elisp, but could only find useful stuff for bnf lisp) to learn just enough to init emacs entirely to my liking. But, thanks mostly to your answers here, I can now see that's all easily do-able, and can probably easily figure out how. Thanks again, -- John Forkosh ( mailto: j@f.com where j=john and f=forkosh )