emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] problems with auto-capitalise


From: Uwe Brauer
Subject: Re: [O] problems with auto-capitalise
Date: Fri, 29 Apr 2016 13:10:35 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

>>> "Sharon" == Sharon Kimble <address@hidden> writes:

   > I've duly install 'auto-capitalize' from melpa  and set it up as per the
   > .el file, and this is what I have in my 'init.org'

   > # #+begin_src emacs-lisp
   > # (autoload 'auto-capitalize-mode "auto-capitalize"
   > #     "Toggle `auto-capitalize' minor mode in this buffer." t)
   > # (autoload 'turn-on-auto-capitalize-mode "auto-capitalize"
   > #     "Turn on `auto-capitalize' minor mode in this buffer." t)
   > # (autoload 'enable-auto-capitalize-mode "auto-capitalize"
   > #     "Enable `auto-capitalize' minor mode in this buffer." t)

   > # (add-hook 'org-mode-hook 'turn-on-auto-capitalize-mode)
   > # #+end_src
   > [2016-04-29 Fri 08:09]


   > Its all commented out because when I restart emacs I get this error
   > message

   > [auto-capitalize auto-capitalize-predicate save-match-data-internal 
this-command key global-map
   > match-data #[nil "\301\302\"\207" [save-match-data-internal 
set-match-data evaporate] 3]
   > self-insert-command this-command-keys ...] 9
   > 
("/home/boudiccas/.emacs.d/elpa/auto-capitalize-20160415.1403/auto-capitalize.elc"
 . 3423)] 1) in
   > desktop-create-buffer [2 times] 


This is bad. Which version of Emacs do you use? On which OS are you?



    -   could you please copy 


(autoload 'auto-capitalize-mode "auto-capitalize"
    "Toggle `auto-capitalize' minor mode in this buffer." t)
(autoload 'turn-on-auto-capitalize-mode "auto-capitalize"
    "Turn on `auto-capitalize' minor mode in this buffer." t)
(autoload 'enable-auto-capitalize-mode "auto-capitalize"
    "Enable `auto-capitalize' minor mode in this buffer." t)

 

Into a separate file say auto-cap-init.el

Copy auto-capitalize.el into some easy to access directory

Close emacs

Restart emacs with

 emacs -Q

Load auto-capitalize.el

M-x set-variable
debug-on-error t

Open a file
M-x auto-capitalize-mode

And tell us what happen.

I recently changed a call in auto-capitalize.el because of a bug in
LaTeX mode.

Uwe Brauer 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]