From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: luis.finotti@gmail.com Newsgroups: gmane.emacs.help Subject: Re: expand-file-name Date: Mon, 10 Mar 2014 10:57:44 -0700 (PDT) Message-ID: <23b6d33a-fd6d-4bf0-bd8b-7080069bd5dc@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1394474414 22728 80.91.229.3 (10 Mar 2014 18:00:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2014 18:00:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 10 19:00:23 2014 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 1WN4Us-0003Uf-2a for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2014 19:00:18 +0100 Original-Received: from localhost ([::1]:50398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN4Ur-0007iv-KY for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2014 14:00:17 -0400 X-Received: by 10.236.18.196 with SMTP id l44mr13304826yhl.52.1394474265091; Mon, 10 Mar 2014 10:57:45 -0700 (PDT) X-Received: by 10.182.115.134 with SMTP id jo6mr249294obb.6.1394474264951; Mon, 10 Mar 2014 10:57:44 -0700 (PDT) Original-Path: usenet.stanford.edu!w5no3222809qac.0!news-out.google.com!gi6ni106igc.0!nntp.google.com!ur14no5262977igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.97.94.15; posting-account=YC-TDQoAAACFJrajgmMe4XMSABl62hTo Original-NNTP-Posting-Host: 50.97.94.15 User-Agent: G2/1.0 Injection-Date: Mon, 10 Mar 2014 17:57:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204131 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:96401 Archived-At: On Thursday, March 6, 2014 5:25:06 PM UTC-5, Michael Heerdegen wrote: > luis.finotti@gmail.com writes: >=20 >=20 >=20 > > where %(dir) is defined (in custom-set-variables) as >=20 > > >=20 > > ("%(dir)" (lambda nil (expand-file-name default-directory))) >=20 >=20 >=20 > What does "defined" mean - do you add this to `TeX-expand-list'? What I meant was it appears like this in my .emacs: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(TeX-expand-list (quote (("%p" TeX-printer-query) ("%q" (lambda nil (TeX-= printer-query t))) ("%V" (lambda nil (TeX-source-correlate-start-server-may= be) (TeX-view-command-raw))) ("%vv" (lambda nil (TeX-source-correlate-start= -server-maybe) (TeX-output-style-check TeX-output-view-style))) ("%v" (lamb= da nil (TeX-source-correlate-start-server-maybe) (TeX-style-check TeX-view-= style))) ("%r" (lambda nil (TeX-style-check TeX-print-style))) ("%l" (lambd= a nil (TeX-style-check LaTeX-command-style))) ("%(PDF)" (lambda nil (if (an= d (eq TeX-engine (quote default)) (or TeX-PDF-mode TeX-DVI-via-PDFTeX)) "pd= f" ""))) ("%(PDFout)" (lambda nil (cond ((and (eq TeX-engine (quote xetex))= (not TeX-PDF-mode)) " -no-pdf") ((and (eq TeX-engine (quote luatex)) (not = TeX-PDF-mode)) " --output-format=3Ddvi") ((and (eq TeX-engine (quote defaul= t)) (not TeX-PDF-mode) TeX-DVI-via-PDFTeX) " \"\\pdfoutput=3D0 \"") (t ""))= )) ("%(mode)" (lambda nil (if TeX-interactive-mode "" " -interaction=3Dnons= topmode"))) ("%(o?)" (lambda nil (if (eq TeX-engine (quote omega)) "o" ""))= ) ("%(tex)" (lambda nil (eval (nth 2 (assq TeX-engine (TeX-engine-alist))))= )) ("%(latex)" (lambda nil (eval (nth 3 (assq TeX-engine (TeX-engine-alist)= ))))) ("%(execopts)" ConTeXt-expand-options) ("%S" TeX-source-correlate-exp= and-options) ("%dS" TeX-source-specials-view-expand-options) ("%cS" TeX-sou= rce-specials-view-expand-client) ("%(outpage)" (lambda nil (if TeX-source-c= orrelate-output-page-function (funcall TeX-source-correlate-output-page-fun= ction) "1"))) ("%s" file nil t) ("%t" file t t) ("%`" (lambda nil (setq TeX= -command-pos t TeX-command-text ""))) (" \"\\" (lambda nil (if (eq TeX-comm= and-pos t) (setq TeX-command-pos pos pos (+ 3 pos)) (setq pos (1+ pos))))) = ("\"" (lambda nil (if (numberp TeX-command-pos) (setq TeX-command-text (con= cat TeX-command-text (substring command TeX-command-pos (1+ pos))) command = (concat (substring command 0 TeX-command-pos) (substring command (1+ pos)))= pos TeX-command-pos TeX-command-pos t) (setq pos (1+ pos))))) ("%'" (lambd= a nil (prog1 (if (stringp TeX-command-text) (progn (setq pos (+ (length TeX= -command-text) 9) TeX-command-pos (and (string-match " " (funcall file t t)= ) "\"")) (concat TeX-command-text " \"\\input\"")) (setq TeX-command-pos ni= l) "") (setq TeX-command-text nil)))) ("%n" TeX-current-line) ("%d" file "d= vi" t) ("%f" file "ps" t) ("%o" (lambda nil (funcall file (TeX-output-exten= sion) t))) ("%b" TeX-current-file-name-master-relative) ("%m" preview-creat= e-subdirectory) ("%(dir)" (lambda nil (expand-file-name default-directory))= ))))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) OTOH, it is now working again. I am not sure what was the problem... Sorr= y for the noise... Best to all, Luis