Re: Problems while trying to load feature

2021-03-16 Thread Nick Dokos
"Charles R (Charlie) Martin"  writes:

> This is a problem I’ve noticed as well. Now, I am a programmer — my
> code or it’s descendants is still in the distribution — I do update
> org mode regularly, and I get messages when I start up Emacs about
> Org mode files that can’t be loaded. I wouldn’t be surprised if the
> cause is this renaming. But honestly I stopped having time to hack
> emacs 30 years ago. Wouldn’t it be desirable if changes that aren’t
> backward-compatible included some kind of assistance for users? 
>

You probably don't want to hear this, but you will have to figure out
what those messages are telling you and fix the problems. At best,
they might be innocuous: your init file might be trying to load things
that don't exist any more. At worst, you may be running a mixed
installation: you might be loading things from various versions of Org
mode that might coexist on your system(s) (depending on how exactly
you install Org mode: if you use the version that is bundled with
emacs *only* you should not have any problems; but if you install a
more recent one from ELPA or from git, you should be careful). If you
encounter problems after the initial load, you might have a mixed
installation. See https://orgmode.org/worg/org-faq.html#mixed-install for more
details on how to check. Mixed installations are an unending source of
problems and need to be taken care of.

I install new versions of emacs and Org mode fairly frequently (every
couple of months) at which point I restart emacs to see whether any
such problems crop up. If there are, I fix them right then and there,
until I can get a clean restart. If it's not obvious, I take a look
through the etc/ORG-NEWS file, which you should have locally, but in a
pinch you can look for it online:

https://code.orgmode.org/bzg/org-mode/src/master/etc/ORG-NEWS

In particular, this is the best place for assistance with backward
incompatibilities that you mentioned above. Assuming you know which
release you came from and which release you are going to, look through
the sections describing them and all intermediate releases, to see
what backward incompatibilites were introduced and what suggested
solutions there are. As a last resort, you can always ask here. In
general, I find that fixing these problems asap is better for my
sanity.

Cleaning up your init file to get rid of the (now) useless loads is
also a good idea (even though they are innocuous): init files tend to
accumulate junk (mine has been doing that for 30 years), so getting
rid of old cruft is, for me, another essential activity to maintain a
semblance of sanity.

My $0.02, YMMV, etc.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




SOLVED: Problems while trying to load feature

2021-03-16 Thread Ypo

Thanks, Nick. SOLVED :-)

El 15/03/2021 a las 17:00, emacs-orgmode-requ...@gnu.org escribió:

Message: 30
Date: Mon, 15 Mar 2021 11:15:29 -0400
From: Nick Dokos
To:emacs-orgmode@gnu.org
Subject: Re: Problems while trying to load feature
Message-ID:<878s6o8n3i@alphaville.usersys.redhat.com>
Content-Type: text/plain

The renaming was e.g org-bbdb to ol-bbdb,*NOT*  to ol-org-bbdb.

Similarly for all the rest: you won't find any of them in any installation.

-- Nick


Re: Problems while trying to load feature

2021-03-15 Thread Charles R (Charlie) Martin
This is a problem I’ve noticed as well. Now, I am a programmer — my code or
it’s descendants is still in the distribution — I do update org mode
regularly, and I get messages when I start up Emacs about Org mode files
that can’t be loaded. I wouldn’t be surprised if the cause is this
renaming. But honestly I stopped having time to hack emacs 30 years ago.
Wouldn’t it be desirable if changes that aren’t backward-compatible
included some kind of assistance for users?

On Mon, Mar 15, 2021 at 11:16 Nick Dokos  wrote:

> The renaming was e.g org-bbdb to ol-bbdb, *NOT* to ol-org-bbdb.
>
> Similarly for all the rest: you won't find any of them in any installation.
>
> --
> Nick
>
> "There are only two hard problems in computer science: cache
> invalidation, naming things, and off-by-one errors." -Martin Fowler
>
>
>


Re: Problems while trying to load feature

2021-03-15 Thread Nick Dokos
The renaming was e.g org-bbdb to ol-bbdb, *NOT* to ol-org-bbdb.

Similarly for all the rest: you won't find any of them in any installation.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




Re: Problems while trying to load feature

2021-03-15 Thread Ypo

Good morning, Richard and list

1) I updated org from MELPA. Previous versions had same problem.

2) I can't find the files in my entire computer.

3) With emacs -q there are not error messages. I send M-: or write 
(require 'org) and press C-x C-e in the scratch and I see nothing 
special, just:


org [2 times]
elisp--preceding-sexp: End of file during parsing
Mark set

Best regards,
Ypo

El 14/03/2021 a las 18:05, Richard Lawrence escribió:

Hi Ypo,

Ypo  writes:


 Problems while trying to load feature ‘ol-org-w3m’ [etc.]

It says "ol-..." because I tried to solve it after reading the mail
list. It is said that it happens because in version 27.1 files changed
their name from "org-bbdb" to "ol-org-bbdb", but as you can see, the
problems keep popping up. I'd say those files don't even exist on my
computer.

 /GNU Emacs 27.1 (build 1, i686-w64-mingw32)//of 2020-08-21/

 /org:  Version: 20210308/

I think we need some more information to help you:

1) How did you install Org? (Git? MELPA?) It looks like you are using a
very recent version, more recent than what ships with Emacs or is
available on ELPA.

2) It's not clear to me whether you have verified that you have the
files. Have you checked that these files exist and are somewhere on your
Emacs load-path?

3) Do you still see this problem if you run emacs -q?
What happens if you then execute

(require 'org)

via M-: or via C-x C-e in *scratch*?



Re: Problems while trying to load feature

2021-03-14 Thread Richard Lawrence
Hi Ypo,

Ypo  writes:

>     Problems while trying to load feature ‘ol-org-w3m’ [etc.]
>
> It says "ol-..." because I tried to solve it after reading the mail 
> list. It is said that it happens because in version 27.1 files changed 
> their name from "org-bbdb" to "ol-org-bbdb", but as you can see, the 
> problems keep popping up. I'd say those files don't even exist on my 
> computer.
>
> /GNU Emacs 27.1 (build 1, i686-w64-mingw32)//of 2020-08-21/
>
> /org:  Version: 20210308/

I think we need some more information to help you:

1) How did you install Org? (Git? MELPA?) It looks like you are using a
very recent version, more recent than what ships with Emacs or is
available on ELPA.

2) It's not clear to me whether you have verified that you have the
files. Have you checked that these files exist and are somewhere on your
Emacs load-path?

3) Do you still see this problem if you run emacs -q? 
What happens if you then execute 

(require 'org)

via M-: or via C-x C-e in *scratch*?

-- 
Best,
Richard



Problems while trying to load feature

2021-03-14 Thread Ypo

Hi

This is my first message to this list. I am an orgmode dependant user, 
but not an advanced user, nor a programmer. My emacs is quite 
customized, though.


I have been cleaning up my init.el file a little this Sunday, and 
solving some problems shown in "Messages" buffer after launching emacs.


But there is an issue I don't know how to solve. I have search in the 
list and reddit but I can't solve it. It is this message:


   Problems while trying to load feature ‘ol-org-bbdb’
   Problems while trying to load feature ‘ol-org-bibtex’
   Problems while trying to load feature ‘ol-org-docview’
   Problems while trying to load feature ‘ol-org-gnus’
   Problems while trying to load feature ‘ol-org-info’
   Problems while trying to load feature ‘ol-org-irc’
   Problems while trying to load feature ‘ol-org-mhe’
   Problems while trying to load feature ‘ol-org-rmail’
   Problems while trying to load feature ‘ol-org-w3m’

It says "ol-..." because I tried to solve it after reading the mail 
list. It is said that it happens because in version 27.1 files changed 
their name from "org-bbdb" to "ol-org-bbdb", but as you can see, the 
problems keep popping up. I'd say those files don't even exist on my 
computer.


   /GNU Emacs 27.1 (build 1, i686-w64-mingw32)//of 2020-08-21/

   /org:  Version: 20210308/

   Best regards



[O] Problems while trying to load feature `org-habit'

2015-08-30 Thread Tobias Frischholz

Hi there,

I somehow get this message when starting up Emacs. Searching the net 
didn't help.


Here's my init.el:

(setq user-full-name Tobias Frischholz
  user-mail-address tob...@friolz.com)

(package-initialize)

 ;; https://github.com/purcell/exec-path-from-shell
(when (memq window-system '(mac ns))
  (exec-path-from-shell-initialize))

(require 'org)
(require 'org-install)
(add-to-list 'org-modules org-habit)

(setq org-todo-keywords
   '((sequence TODO(t) WAIT(w@/!) | DONE(d!) 
CANCELED(c@


(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(global-set-key \C-cc 'org-capture)
(setq org-default-notes-file ~/org/organizer.org)
(global-set-key (kbd C-c o)
(lambda () (interactive) (find-file 
~/org/organizer.org)))

(global-set-key \C-cb 'org-iswitchb)

(setq org-agenda-files (list ~/org/organizer.org))

(setq org-feed-alist
  '((Hacker News
  https://news.ycombinator.com/rss;
  ~/org/feeds.org Hacker News Entries)
  (SZ
	  
http://rss.sueddeutsche.de/app/service/rss/alles/index.rss?output=rss;

  ~/org/feeds.org SZ Entries)))


(require 'package)
(add-to-list 'package-archives
 '(melpa . https://melpa.org/packages/;))

(add-to-list 'load-path ~/elisp/erc)
(require 'erc)

(add-to-list 'load-path ~/.elisp/gnuplot-mode/)
(require 'gnuplot)

(setq inhibit-startup-message t)

(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.
 '(custom-enabled-themes (quote (sanityinc-solarized-light)))
 '(custom-safe-themes
   (quote
(4aee8551b53a43a883cb0b7f3255d6859d766b6c5e14bcb01bed572fcbef4328 
4cf3221feff536e2b3385209e9b9dc4c2e0818a69a1cdb4b522756bcdf4e00a4 
default

(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.
 )

I've added the STYLE habit to my TODOs. Everything seems to work fine.
However the consistency graph is also missing.

Any help would be greatly appreciated!

--
Tobi

PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1op=index



Re: [O] Problems while trying to load feature `org-habit'

2015-08-30 Thread Tobias Frischholz
Ok, I’ve solved it:

;(require 'org)
;(require 'org-install)
;(add-to-list 'org-modules org-habit)
(setq org-modules '(org-habit))

--
Tobi

PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1op=index

 On 30 Aug 2015, at 10:33, Tobias Frischholz tob...@friolz.com wrote:
 
 Hi there,
 
 I somehow get this message when starting up Emacs. Searching the net didn't 
 help.
 
 Here's my init.el:
 
 (setq user-full-name Tobias Frischholz
  user-mail-address tob...@friolz.com)
 
 (package-initialize)
 
 ;; https://github.com/purcell/exec-path-from-shell
 (when (memq window-system '(mac ns))
  (exec-path-from-shell-initialize))
 
 (require 'org)
 (require 'org-install)
 (add-to-list 'org-modules org-habit)
 
 (setq org-todo-keywords
   '((sequence TODO(t) WAIT(w@/!) | DONE(d!) CANCELED(c@
 
 (global-set-key \C-cl 'org-store-link)
 (global-set-key \C-ca 'org-agenda)
 (global-set-key \C-cc 'org-capture)
 (setq org-default-notes-file ~/org/organizer.org)
 (global-set-key (kbd C-c o)
(lambda () (interactive) (find-file ~/org/organizer.org)))
 (global-set-key \C-cb 'org-iswitchb)
 
 (setq org-agenda-files (list ~/org/organizer.org))
 
 (setq org-feed-alist
  '((Hacker News
  https://news.ycombinator.com/rss;
  ~/org/feeds.org Hacker News Entries)
 (SZ
 
 http://rss.sueddeutsche.de/app/service/rss/alles/index.rss?output=rss;
 ~/org/feeds.org SZ Entries)))
 
 
 (require 'package)
 (add-to-list 'package-archives
 '(melpa . https://melpa.org/packages/;))
 
 (add-to-list 'load-path ~/elisp/erc)
 (require 'erc)
 
 (add-to-list 'load-path ~/.elisp/gnuplot-mode/)
 (require 'gnuplot)
 
 (setq inhibit-startup-message t)
 
 (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.
 '(custom-enabled-themes (quote (sanityinc-solarized-light)))
 '(custom-safe-themes
   (quote
(4aee8551b53a43a883cb0b7f3255d6859d766b6c5e14bcb01bed572fcbef4328 
 4cf3221feff536e2b3385209e9b9dc4c2e0818a69a1cdb4b522756bcdf4e00a4 default
 (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.
 )
 
 I've added the STYLE habit to my TODOs. Everything seems to work fine.
 However the consistency graph is also missing.
 
 Any help would be greatly appreciated!
 
 --
 Tobi
 
 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1op=index
 



signature.asc
Description: Message signed with OpenPGP using GPGMail