From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: problems with auto-capitalise Date: Fri, 29 Apr 2016 15:33:08 +0100 Message-ID: <8737q4wkm3.fsf@skimble.plus.com> References: <87d1p8ade1.fsf@skimble.plus.com> <87h9ekr25w.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9U9-0007c6-Lc for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 10:33:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw9Tw-00058o-R3 for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 10:33:32 -0400 Received: from avasout04.plus.net ([212.159.14.19]:51808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9Tw-00056A-LJ for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 10:33:24 -0400 In-Reply-To: <87h9ekr25w.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 29 Apr 2016 13:10:35 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Uwe Brauer writes: >>>> "Sharon" =3D=3D Sharon Kimble 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-mat= ch-data evaporate] 3] > > self-insert-command this-command-keys ...] 9 > > ("/home/boudiccas/.emacs.d/elpa/auto-capitalize-20160415.1403/auto-c= apitalize.elc" . 3423)] 1) in > > desktop-create-buffer [2 times]=20 > > > This is bad. Which version of Emacs do you use? On which OS are you? Thanks Uwe, comments inline emacs 25.0.93.1 OS in the signature, Debian 8 > > > > - could you please copy=20 > > > (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) > >=20=20 > > 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. =2D-8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/boudiccas/.emacs.d/auto-capitalize.elc...done You can run the command =E2=80=98set-variable=E2=80=99 with M-x s-va RET is undefined You can run the command =E2=80=98auto-capitalize-mode=E2=80=99 with M-x a-c= a RET Mark set [2 times] Saving file /home/boudiccas/.emacs.d/org/todo.org... Wrote /home/boudiccas/.emacs.d/org/todo.org Saving file /home/boudiccas/.emacs.d/org/todo.org... Wrote /home/boudiccas/.emacs.d/org/todo.org =2D-8<---------------cut here---------------end--------------->8--- And that's all, so I copied the new .elc file into the elpa auto-capitalize directory and then enabled it in my init file and rebooted, the same problem still occurs, so I've commented it out of my init file and now I'm back without auto-capitalize.=20 > > I recently changed a call in auto-capitalize.el because of a bug in > LaTeX mode. > > Uwe Brauer=20 Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.93 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXI3ClAAoJEDaBgBkK+INbPOoP/25zqOb9lt6/Mda894UfVkjT E4Ybwby467QIeXph+QfolC3uQYkd6WTvAG3gb371A7uNc8Uilb93uNu7eVTi6ubg 71OuYJQS4WqV8FCa6jNcUHVlNtUekWEfNb91LSMBIxq5CyoBqXnGr81F8Eabljfg lbzTuZ5L+Y68r8P1LKY9GkScKZhGD9VDmAPh72+F4nzAWlSy9DQyCfKoA04slick atjmAFZA7z0VlT2AHC2oRQyt8TxUBr1xCQoBsf/wfNk2PaSMjYGqE73yWYEkQ20q wMxv9ioqk7/rlHkF6yk4KISq9N/O2v7gLVCYYJniBS7ejeWQTm+TqXilyWygrcC5 HfegKjn+IW6G2KLxDCtkxwLxzsD9IACDSQu69a108Yf4EPYJZ6BAyquz+TMnK6+q TNIMacv4T/6VoOn+CFVOcjEyl5ZYoIiSDpW9DQ7fWhztS+djaLa68XUZSihl6Bvc 7xNat8jU1d/7eeigPqtKNy4nG89624fK8T/PFiyLIAN8VMCAeIHRiRyoBRIBPfRZ zOR0mrzbVn7EeBBgq9RKjsvWdz5LuenAwV94QM+NgjrdMb/LyVR/1omw2s+pCtaf mdJFwUPZ18giTJacAkEHE6XbLTEylrMLmNjMM0uBvGYdjnNS9/D6vKw1udRqAEjT NZcKhD87ELNyE4yOOkRy =ofDO -----END PGP SIGNATURE----- --=-=-=--