From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?H=C3=A9ctor?= Lahoz Newsgroups: gmane.emacs.help Subject: loading local abbrevs Date: Thu, 29 Jun 2017 11:21:35 +0200 Message-ID: <20170629092135.GA3672@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1498728135 17226 195.159.176.226 (29 Jun 2017 09:22:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2017 09:22:15 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 29 11:22:10 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 1dQVeL-00047y-To for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jun 2017 11:22:10 +0200 Original-Received: from localhost ([::1]:37915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQVeR-0003px-4c for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jun 2017 05:22:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQVe0-0003pb-Og for help-gnu-emacs@gnu.org; Thu, 29 Jun 2017 05:21:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQVdv-0006C4-S0 for help-gnu-emacs@gnu.org; Thu, 29 Jun 2017 05:21:48 -0400 Original-Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:34661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQVdv-0006BR-Mc for help-gnu-emacs@gnu.org; Thu, 29 Jun 2017 05:21:43 -0400 Original-Received: by mail-wr0-x22f.google.com with SMTP id 77so186318452wrb.1 for ; Thu, 29 Jun 2017 02:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=KDyn4G6zdJFi/vXbxi40QxdTR3VAyRRYBz+UIPNv8ys=; b=rgyOaA31yr7TeRLDgRlaolKsk5GW7vhcAQRMCxOEvKtai5uF8WrX6JQ4g9TPr6qwIt 7yksbrWxyDLHdKozxJiog4bEQEESo8YakLB11x6kVc8yYHYhWOExR9z+I4NLQhPDaqK/ ZQb1VfZzP/gUBbwj5PKT4By7Hdw+1bh9jXqTrwLWOj8fu0W/6JV6Lx+9Fn0BhsBJ+UxQ KWg/7uWtGTd9AN4y1kQ0gCnrpxhhKnwwFmIz6vSTm/FvHTw4QZnNlvNvDg33zEYTGJ9+ Xf6lQUdC2Wiu0k3D3pA1kZzXJuanad69H+g7GrWQ3PRXeLBNtBUtFodeVQkuhaXWtzCo d+FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=KDyn4G6zdJFi/vXbxi40QxdTR3VAyRRYBz+UIPNv8ys=; b=XFrZnEIwPKOPzPBdsUQKhTcrF8+0jPO1u6lg+HFsJ17umsS/EeJWmXooLUOEq/LWHK O226dplw2KIqhvRPN4j8cNKTfB9yHG40G4B1K3ek4J+9ErMWmop/iN8oXn2WyxiJ9fvi SVegq9OUkN0p0p9s+uv0gLrhB7KyjR4Gkxw8QPpXkaReRjhbs5tTDsyDAM0m4d/bQNx0 b/G2A5gF46AE8yXdVNvAn6aNnT4C3917NbgU0YrH/DvpvQGXqyNv2GFGxGQquQE7MOJw FFA370sl+2meebqIaCjdk/wu0n5SfSiEhCY3qXgtBOXFPEtB17Sldw5KyLDJ3W6lswgm qryw== X-Gm-Message-State: AKS2vOyLeFopMKmoblXACgEgwpfK305zQY8Exua2gS3qsNtIvKFeW/A9 LDwNLCwJQCj2nVtr X-Received: by 10.223.175.18 with SMTP id z18mr24160741wrc.22.1498728100741; Thu, 29 Jun 2017 02:21:40 -0700 (PDT) Original-Received: from workstation ([47.61.99.5]) by smtp.gmail.com with ESMTPSA id 13sm4052745wrl.57.2017.06.29.02.21.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 29 Jun 2017 02:21:39 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f 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:113597 Archived-At: Hi. I'd like to load a file with local abbrevs when I edit any file in a given directory. So I put a local variable like: eval: (read-abbrev-file "abbrev_defs") but it can't find the abbrev_defs. I think it has to do with load-path. What can I do? I don't want to use an absolute path because the path might be changed.