emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* elpa upgrade to 8.3.1 on emacs 24.5
@ 2015-08-06 14:18 Paul Schlesinger
  2015-08-06 14:54 ` Rasmus
  2015-08-06 15:06 ` Kaushal
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Schlesinger @ 2015-08-06 14:18 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

When I open an org file I get
File mode specification error: (invalid-function setq-local)

I just upgraded so I don't know of any other problems

Paul Schlesinger

-- 
Paul H. Schlesinger MD, PhD
Washington University School of Medicine

[-- Attachment #2: Type: text/html, Size: 394 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elpa upgrade to 8.3.1 on emacs 24.5
  2015-08-06 14:18 elpa upgrade to 8.3.1 on emacs 24.5 Paul Schlesinger
@ 2015-08-06 14:54 ` Rasmus
  2015-08-06 16:19   ` Kaushal
  2015-08-06 15:06 ` Kaushal
  1 sibling, 1 reply; 5+ messages in thread
From: Rasmus @ 2015-08-06 14:54 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Paul Schlesinger <phschlesinger@gmail.com> writes:

> When I open an org file I get
> File mode specification error: (invalid-function setq-local)
>
> I just upgraded so I don't know of any other problems

setq-local only seems to be used in contrib.  Contrib'ed files aren't
targeted a particular minimum version of Emacs, I believe.

Perhaps you are trying to load one of these files?

./contrib/lisp/org-eldoc.el:156:        (setq-local eldoc-documentation-function #'org-eldoc-documentation-function))
./contrib/lisp/org-index.el:2339:       (setq-local org-index--occur-help-text (cons (cdr org-index--occur-help-text) (car org-index--occur-help-text)))
./contrib/lisp/org-drill.el:2864:       (setq-local org-drill-cloze-regexp (org-drill--compute-cloze-regexp))
./contrib/lisp/org-drill.el:2865:       (setq-local org-drill-cloze-keywords (org-drill--compute-cloze-keywords))
./contrib/lisp/org-drill.el:2878:;;     (setq-local org-drill-cloze-regexp (org-drill--compute-cloze-regexp))
./contrib/lisp/org-drill.el:2879:;;     (setq-local org-drill-cloze-keywords (org-drill--compute-cloze-keywords))

Hope it helps,
Rasmus

-- 
Together we'll stand, divided we'll fall

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elpa upgrade to 8.3.1 on emacs 24.5
  2015-08-06 14:18 elpa upgrade to 8.3.1 on emacs 24.5 Paul Schlesinger
  2015-08-06 14:54 ` Rasmus
@ 2015-08-06 15:06 ` Kaushal
  2015-08-08  7:35   ` Kyle Meyer
  1 sibling, 1 reply; 5+ messages in thread
From: Kaushal @ 2015-08-06 15:06 UTC (permalink / raw)
  To: Paul Schlesinger; +Cc: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

That's odd. `setq-local` macro was added in emacs 24.3; it is in subr.el.

(defmacro setq-local (var val)
  "Set variable VAR to value VAL in current buffer."
  ;; Can't use backquote here, it's too early in the bootstrap.
  (list 'set (list 'make-local-variable (list 'quote var)) val))



--
Kaushal Modi

On Thu, Aug 6, 2015 at 10:18 AM, Paul Schlesinger <phschlesinger@gmail.com>
wrote:

> When I open an org file I get
> File mode specification error: (invalid-function setq-local)
>
> I just upgraded so I don't know of any other problems
>
> Paul Schlesinger
>
> --
> Paul H. Schlesinger MD, PhD
> Washington University School of Medicine
>

[-- Attachment #2: Type: text/html, Size: 1701 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elpa upgrade to 8.3.1 on emacs 24.5
  2015-08-06 14:54 ` Rasmus
@ 2015-08-06 16:19   ` Kaushal
  0 siblings, 0 replies; 5+ messages in thread
From: Kaushal @ 2015-08-06 16:19 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

But the surprising thing is that Paul mentioned in the subject line that
he's on emacs 24.5.


--
Kaushal Modi

On Thu, Aug 6, 2015 at 10:54 AM, Rasmus <rasmus@gmx.us> wrote:

> Hi,
>
> Paul Schlesinger <phschlesinger@gmail.com> writes:
>
> > When I open an org file I get
> > File mode specification error: (invalid-function setq-local)
> >
> > I just upgraded so I don't know of any other problems
>
> setq-local only seems to be used in contrib.  Contrib'ed files aren't
> targeted a particular minimum version of Emacs, I believe.
>
> Perhaps you are trying to load one of these files?
>
> ./contrib/lisp/org-eldoc.el:156:        (setq-local
> eldoc-documentation-function #'org-eldoc-documentation-function))
> ./contrib/lisp/org-index.el:2339:       (setq-local
> org-index--occur-help-text (cons (cdr org-index--occur-help-text) (car
> org-index--occur-help-text)))
> ./contrib/lisp/org-drill.el:2864:       (setq-local org-drill-cloze-regexp
> (org-drill--compute-cloze-regexp))
> ./contrib/lisp/org-drill.el:2865:       (setq-local
> org-drill-cloze-keywords (org-drill--compute-cloze-keywords))
> ./contrib/lisp/org-drill.el:2878:;;     (setq-local org-drill-cloze-regexp
> (org-drill--compute-cloze-regexp))
> ./contrib/lisp/org-drill.el:2879:;;     (setq-local
> org-drill-cloze-keywords (org-drill--compute-cloze-keywords))
>
> Hope it helps,
> Rasmus
>
> --
> Together we'll stand, divided we'll fall
>
>
>

[-- Attachment #2: Type: text/html, Size: 2195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elpa upgrade to 8.3.1 on emacs 24.5
  2015-08-06 15:06 ` Kaushal
@ 2015-08-08  7:35   ` Kyle Meyer
  0 siblings, 0 replies; 5+ messages in thread
From: Kyle Meyer @ 2015-08-08  7:35 UTC (permalink / raw)
  To: Kaushal; +Cc: Paul Schlesinger, emacs-org list

Kaushal <kaushal.modi@gmail.com> wrote:
> That's odd. `setq-local` macro was added in emacs 24.3; it is in subr.el.
>
> (defmacro setq-local (var val)
>   "Set variable VAR to value VAL in current buffer."
>   ;; Can't use backquote here, it's too early in the bootstrap.
>   (list 'set (list 'make-local-variable (list 'quote var)) val))

Perhaps this is an issue with compiling during the update:
http://permalink.gmane.org/gmane.emacs.orgmode/99689

--
Kyle

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-08  7:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 14:18 elpa upgrade to 8.3.1 on emacs 24.5 Paul Schlesinger
2015-08-06 14:54 ` Rasmus
2015-08-06 16:19   ` Kaushal
2015-08-06 15:06 ` Kaushal
2015-08-08  7:35   ` Kyle Meyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).