From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: set a variable at the beginning of a buffer via a string Date: Fri, 24 Nov 2017 16:45:38 +0100 Message-ID: <87vahzr87x.fsf@gmail.com> References: <87wp2fvhfo.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511538374 11905 195.159.176.226 (24 Nov 2017 15:46:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2017 15:46:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 24 16:46:11 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 1eIGB2-0002SB-5F for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Nov 2017 16:46:04 +0100 Original-Received: from localhost ([::1]:49904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIGB9-00087r-FL for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Nov 2017 10:46:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIGAk-00087Z-Li for help-gnu-emacs@gnu.org; Fri, 24 Nov 2017 10:45:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIGAf-0000hb-Qh for help-gnu-emacs@gnu.org; Fri, 24 Nov 2017 10:45:46 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:43395) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIGAf-0000gb-Jm for help-gnu-emacs@gnu.org; Fri, 24 Nov 2017 10:45:41 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id x63so23173351wmf.2 for ; Fri, 24 Nov 2017 07:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:user-agent:mime-version; bh=p8H9l0EvqSueAp0ubWdohVbMmwgLMtTtVTFS7KL8oxw=; b=ZXaxKdoLZoeiqsEmOsc0iY3YUWPFb7jtX13rHO7+oWzILmzcSgjF9mpbiRmIxP+Srx ZWYj1dSgRXVMwkouHPFx7i+35ZP3mQXwYqEtKOa6uuk5sYgzrasJaKyUWKlsGPOM+GWP D7ZedctzbQgXPDMLJXS/21QDeUtiysT81zB1hBIkqDnwrVEabL+wbs6XqCLu6dbXZJp8 kS1rkfkGsxCtJpM44ufMFYu9t+bHfH6ZOCmehfkFOClcUs9Vh8G4LQSHKOiwSP8zj7sD hv2adnZuxm1ptFQppnu7yL0TSZhIF3P1+b5mLY8qwPTvDz7l5ap4ywvTBADkhO/1qQ0b wb0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:user-agent:mime-version; bh=p8H9l0EvqSueAp0ubWdohVbMmwgLMtTtVTFS7KL8oxw=; b=LM6FcSGlVhcd8Y0D5F2lTMuLVugnXMJ5FjVS4r43w9bqwRcliz0jY34L38bYsZLfbD xJ4x59I+tEMQEc1oKu3RYrklVtmuGPMfNuuazXHLJbC1IByytM6Wlai68s/yXdtq7ChY YpVsOy3bJRNwL/3iLqM/HVZ7tMCRU/lIzVgbAk4aAe8g2OfQ4GIVOezQkaFr5pkJtgkh Tdo/uqWY2tC0+duuDK4f3anfe8GmlTRtHZ4ly3AzutRh9dEe2Ogxw4mxtaKu/+ReniQe Rac6I7BGhk1FUfm9kgVGo+zytkIJtZWiV3vffu6E2EAD+SDXOT0KbkNvfSSu167MS/9z /+UQ== X-Gm-Message-State: AJaThX6yKl4vYK+grzL0mpAaUj3s7+znzZh5nmxqth8+dXFT7yYs7k+I FqVe0OWNn9KxdF0HFy6o3BUAtkB3 X-Google-Smtp-Source: AGs4zMY14t80tbafY2e4YoQlofFehsuvpYqhBQobSk7nk/Q2nq++1Pw54yKMs51fh75oS/hLna3+3w== X-Received: by 10.28.125.11 with SMTP id y11mr11817908wmc.115.1511538339801; Fri, 24 Nov 2017 07:45:39 -0800 (PST) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 90sm31742127wrp.93.2017.11.24.07.45.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 07:45:39 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <87wp2fvhfo.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 24 Nov 2017 16:12:59 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 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:115076 Archived-At: Uwe Brauer writes: > Hi > > The following works nicely, when set at the beginning of a buffer > > %% -*-coding: utf-8 -*- > > > But this %% -*-ispell-local-dictionary: "castellano8" -*- > > Does not, why? What do I miss? I thought the '-*-' had to be followed by a space? BTW, is this your abbrev file by any chance? Looks like write-abbrev-file gets this wrong. Robert