From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Browder Newsgroups: gmane.emacs.help Subject: Re: Can one modify a variable definition in a major mode depending on buffer name? Date: Sat, 30 Jul 2016 11:22:43 -0500 Message-ID: References: <867fc3rym2.fsf@student.uu.se> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1469895813 29414 80.91.229.8 (30 Jul 2016 16:23:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2016 16:23:33 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 30 18:23:20 2016 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 1bTX2l-0007a8-AY for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 18:23:19 +0200 Original-Received: from localhost ([::1]:36407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTX2h-0001P5-He for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 12:23:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTX2G-0001Ln-7U for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 12:22:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTX2E-0001nb-9X for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 12:22:47 -0400 Original-Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:34798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTX2E-0001nU-4L for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 12:22:46 -0400 Original-Received: by mail-oi0-x22b.google.com with SMTP id l65so143817846oib.1 for ; Sat, 30 Jul 2016 09:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=P0VbFCKo3Q2DgWEGqFKJRsUA+a5aODd206TXnPOJ+UU=; b=LGcqLnTGUr/fv0YEY2daGn1ofgv5IdjupN09VK8LvJ5QpHer1qFPm1KuEzxsJSkRA0 mBwL180NLsoepwtzg7Rg82eU8mJAK2Z2IJarRT1mzyVVoypioqMG/NjJUsy0a6QXX0Xt IeYtKOKgItMMqKSNxL1TGX52OGak6Jny7/KAedrON46TA0TbhBjFdHG0GJI5MHmzOL63 q1QKW2kltzoV/f2VWMlYxPl7RKKCGVuzcqZ04pSBQ0HlT6Ne9tqi8/e9BK0PJ2SaKfPh OhLiD9ECLTcVv5/qM/clI8AMeqInLob7mnTkm+VFB5m5bH/1QznVfsFxTVr7zyLMZ6zB Ti5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=P0VbFCKo3Q2DgWEGqFKJRsUA+a5aODd206TXnPOJ+UU=; b=ZQAK5On/NmMvekzQCkmAE7dOKD+l/v9bFvIuXIFjqPgMf26LJe+vxHsco9qdcletwH LIWXafsTMUdY2FZABx7PXwzEIJ9iPGCkGRjpX/b7aoOMN3IiZOqRLxtLHKwTx4of56T0 Esp/8G1HMjWq3wAdrSzttWQzLyi5Zh/dNjRhwd+79A3R+snEknIhHrIznFHue8m1pCf+ Hz4z+hTMAWcLDYbEh5nm3ZSirT7YPg9iKeMNG69LY2LVQY051O4GHNVVViT/XQxPwmbp 80A4XSz/5RIGCk6r9MMZN/W5g6sRdzXZVFjY+7+t/9oqciKp9kv8VO0ISGdEur3jmfiS ocrw== X-Gm-Message-State: AEkoousiuJlA9nPMrFfghBCQszNnSyJJ8t7uV62j29npPzSZ0baxhTrX+sLMgwxkNhXaWX7gkXxcILc32tfZXQ== X-Received: by 10.157.47.248 with SMTP id b53mr30030625otd.106.1469895764652; Sat, 30 Jul 2016 09:22:44 -0700 (PDT) Original-Received: by 10.157.62.135 with HTTP; Sat, 30 Jul 2016 09:22:43 -0700 (PDT) In-Reply-To: <867fc3rym2.fsf@student.uu.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:111020 Archived-At: On Saturday, July 30, 2016, Emanuel Berg wrote: > Tom Browder wrote: > > I think I can do that, with some > > experimentation, but can anyone confirm that > > it's reasonably possible? > > ;;; Perl > (defvar perl-propaganda) Thanks, Emanuel, for a working example. I wasn't asking for a solution, but it is appreciated. Also, I love your choice of names! I have to say this list is right up there with the Perl 6 lists for friendliness and patience with noobs. BTW, is there an irc channel for elispers? Thanks again, Emanuel! Best regards, -Tom