[O] [Exporter] Why fall-back to :title if :alt-title is nil?
Hi List, in ox.el I find this function for getting the (optional) alternative title of a headline: #+begin_src emacs-lisp (defun org-export-get-alt-title (headline info) "Return alternative title for HEADLINE, as a secondary string. INFO is a plist used as a communication channel. If no optional title is defined, fall-back to the regular title." (or (org-element-property :alt-title headline) (org-element-property :title headline))) #+end_src I'm not so sure that it is a good idea to fallback to the regular title in case :alt-title is nil, because when extracting both, title and alt-title, from a headline, there is a almost always a duplication (the regular title string is received two times, via the get-title and get-alt-title functions) because :alt-title isn't really set very often. Wouldn't it make more sense to just return nil when :alt-title is nil? If the application code needs a title string anyway, it can always fall-back to a call to the get-title function. -- cheers, Thorsten
Re: [O] [Exporter] Why fall-back to :title if :alt-title is nil?
Hello, Thorsten Jolitz writes: > Hi List, > > in ox.el I find this function for getting the (optional) alternative title of > a headline: > > #+begin_src emacs-lisp > (defun org-export-get-alt-title (headline info) > "Return alternative title for HEADLINE, as a secondary string. > INFO is a plist used as a communication channel. If no optional > title is defined, fall-back to the regular title." > (or (org-element-property :alt-title headline) > (org-element-property :title headline))) > #+end_src > > I'm not so sure that it is a good idea to fallback to the regular title in > case :alt-title is nil, because when extracting both, title and alt-title, > from a headline, there is a almost always a duplication (the regular title > string is received two times, via the get-title and get-alt-title functions) > because :alt-title isn't really set very often. > > Wouldn't it make more sense to just return nil when :alt-title is nil? If the > application code needs a title string anyway, it can always fall-back to a > call to the get-title function. There is no "get-title" function. When building a TOC, you are required to get a title for the current entry. This function prevent checking both sources. Anyway, I think this is nitpicking, because you can always check if its return value equals (org-element-property :title headline). Regards, -- Nicolas Goaziou
[O] bug#15888: 24.3.50; Eval-after-load eval'ed twice
On Wed, Nov 13, 2013 at 1:27 PM, Sebastien Vauban wrote: > (with-eval-after-load "org" > (message "Eval this when Org is loaded") > (sit-for 3) > (message "")) > > the code block in the `with-eval-after-load' is eval'ed twice whenever an Org > file is loaded. Have you checked to see what happens if you specify 'org (a symbol designating a feature) rather than "org" (a string representing a file name) above?
Re: [O] [Exporter] Why fall-back to :title if :alt-title is nil?
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> Hi List, >> >> in ox.el I find this function for getting the (optional) alternative >> title of a headline: >> >> #+begin_src emacs-lisp >> (defun org-export-get-alt-title (headline info) >> "Return alternative title for HEADLINE, as a secondary string. >> INFO is a plist used as a communication channel. If no optional >> title is defined, fall-back to the regular title." >> (or (org-element-property :alt-title headline) >> (org-element-property :title headline))) >> #+end_src >> >> I'm not so sure that it is a good idea to fallback to the regular >> title in case :alt-title is nil, because when extracting both, title >> and alt-title, from a headline, there is a almost always a >> duplication (the regular title string is received two times, via the >> get-title and get-alt-title functions) because :alt-title isn't >> really set very often. >> >> Wouldn't it make more sense to just return nil when :alt-title is >> nil? If the application code needs a title string anyway, it can >> always fall-back to a call to the get-title function. > > There is no "get-title" function. > > When building a TOC, you are required to get a title for the current > entry. This function prevent checking both sources. > > Anyway, I think this is nitpicking, because you can always check if its > return value equals (org-element-property :title headline). it is nitpicking and not really important, but a function name like , | (defun org-export-get-toc-title (headline info) ` would probably better describe what the function really does. -- cheers, Thorsten
[O] One-key combo entry?
Is it possible to set up so when when standing on a header push one key combo and one after another be asked about about the todo-word, keyword, deadline and then schedule for an entry? Regards, Fredrik
Re: [O] One-key combo entry?
Hi Fredrik, Fredrik writes: > Is it possible to set up so when when standing on a header push one > key combo and one after another be asked about about the todo-word, > keyword, deadline and then schedule for an entry? Not with the core functions, but I'm sure someone can provide this command. May be a good idea to let newcomers discovers all metadata for an entry interactively. -- Bastien
Re: [O] Encoding Problem in export?
Hi Nicolas I would like to ask you to review the attached patch so I can change it when necessary before I git push it. > it probably means that `org-link-escape' is a bit too zealous (BTW > why don't this function rely on `url-encode-url'?) url-encode-url is a very good hint to solve a different issue that I try to deal with: (from http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00204.html) On Sat, Oct 5, 2013 at 3:04 PM, Michael Brand wrote: > [...] related change that I will suggest with an ERT in a later > patch: Just add "+" to org-link-escape-chars-browser. "+" has not been added to org-link-escape-chars-browser yet and in the meantime I realized that it should not be added in order to not break existing Org links like: [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query="Release+8.2";]] that work the same as [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query="Release 8.2"]] Better is to change the function org-link-escape-browser to use url-encode-url when available (since Emacs 24.3). With this I can write my use case to open a browser with +subject:"Release 8.2" in the query field now as an Org link written manually with %2B for the "+" at the beginning and %25 for its "%" like this [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query=%252Bsubject:"Release+8.2";]] or [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query=%252Bsubject:"Release 8.2"]] Link escaping in org-store-link and link unescaping in the first part of org-open-at-point are not changed, this is important to keep backward compatibility with old Org links. I have used this patch for several weeks on Emacs 24.3.2 without any problem. Michael commit 686bd788243ef38951c3c529d4c67c3ad766f417 Author: Michael Brand Date: Sat Nov 16 16:13:57 2013 +0100 Hyperlink: Use url-encode-url for browse-url * lisp/org.el (org-open-at-point): When available (Emacs 24.3) use `url-encode-url' instead of `org-link-escape-browser'. * testing/lisp/test-org.el (test-org/org-link-escape-url-with-escaped-char): Substitute repeated literal string with constant. (test-org/org-link-escape-chars-browser): Extend test coverage with `url-encode-url' and with "query="-space as plus sign or space. diff --git a/lisp/org.el b/lisp/org.el index a3c1958..aa91ffc 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -10468,11 +10468,20 @@ application the system uses for this file type." (apply cmd (nreverse args1 ((member type '("http" "https" "ftp" "news")) - (browse-url (concat type ":" (org-link-escape-browser path + ;; see `ert-deftest' + ;; `test-org/org-link-escape-chars-browser' + (browse-url +(if (fboundp 'url-encode-url) +(url-encode-url (concat type ":" path)) + (org-link-escape-browser (concat type ":" path) ((string= type "doi") - (browse-url (concat org-doi-server-url - (org-link-escape-browser path + ;; see `ert-deftest' + ;; `test-org/org-link-escape-chars-browser' + (browse-url +(if (fboundp 'url-encode-url) +(url-encode-url (concat org-doi-server-url path)) + (org-link-escape-browser (concat org-doi-server-url path) ((member type '("message")) (browse-url (concat type ":" path))) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index f4672eb..084e95d 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -552,21 +552,53 @@ (ert-deftest test-org/org-link-escape-url-with-escaped-char () "Escape and unescape a URL that includes an escaped char. http://article.gmane.org/gmane.emacs.orgmode/21459/"; - (should - (string= -"http://some.host.com/form?&id=blah%2Bblah25"; -(org-link-unescape - (org-link-escape "http://some.host.com/form?&id=blah%2Bblah25";) + (let ((a "http://some.host.com/form?&id=blah%2Bblah25";)) +(should (string= a (org-link-unescape (org-link-escape a)) (ert-deftest test-org/org-link-escape-chars-browser () - "Escape a URL to pass to `browse-url'." - (should - (string= -(concat "http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query="; - "%22Release%208.2%22&idxname=emacs-orgmode") -(org-link-escape-browser - (concat "http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query="; -"\"Release 8.2\"&idxname=emacs-orgmode") + "Escape a URL before passing it to `browse-url'. + +This test is to ensure that `org-open-at-point' on the Org links + + [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query=%252Bsubject:\"Release+8.2\";]] + [[http://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&query=%252Bsubject:\"Release 8.2\"]] + +will open a br
Re: [O] maintaining Org
El 15/11/13 09:43, Simon Thum escribió: David, I had a short look and find it interesting but I would need some configuration. In particluar, I use "CANCELLED" not CANCELED. http://grammarist.com/spelling/cancel/ but I guess there are also better reasons to make that configurable a bit. Do you inted to maintain org-effectiveness, and if yes, would you consider such a change? Fixed! Thanks for the suggestion! Cheers, Simon On 11/14/2013 10:45 PM, David wrote: El 10/11/13 17:29, Carsten Dominik escribió: On 7.11.2013, at 20:38, David wrote: El 05/11/13 11:56, Bastien escribió: Hi David, Carsten Dominik writes: do you have FSF papers? If so, write to Jason Dunsmore and send him your public key. Thanks you! I think org-license.el and org-effectiveness.el belong to contrib/ so you don't need to sign the FSF papers for this. I've signed the FSF papers and the FSF has accepted. I attach it in other email Thanks David. - Carsten $ git clone orgm...@orgmode.org:org-mode.git. Now, org-effectiveness.el and org-license.el in #orgmode official repository :-).
[O] [BUG] org-confirm-babel-evaluate breaks inline src blocks
Following this thread: http://thread.gmane.org/gmane.emacs.orgmode/77572/focus=77648 I found that setting org-confirm-babel-evaluate to a lambda form BREAKS inline src blocks. Here is an ECM: # #+BEGIN_SRC emacs-lisp (setf org-confirm-babel-evaluate (lambda (&rest args) (message "info: %S" (org-babel-get-src-block-info 'light)) nil)) #+END_SRC #+RESULTS: src_R{1+1} #
Re: [O] [RFC] Change some defcustoms into defcont
Hello, Carsten Dominik writes: > So: IF YOU HAVE CUSTOMIZED any of this variables, I'd like to hear about it. > Otherwise, I now think that the proposal is actually good and should > move ahead. I applied the patch. Regards, -- Nicolas Goaziou
Re: [O] Encoding Problem in export?
Hello, Michael Brand writes: > I would like to ask you to review the attached patch so I can change > it when necessary before I git push it. Sure. > - (browse-url (concat type ":" (org-link-escape-browser path > + ;; see `ert-deftest' > + ;; `test-org/org-link-escape-chars-browser' > + (browse-url > + (if (fboundp 'url-encode-url) > + (url-encode-url (concat type ":" path)) > +(org-link-escape-browser (concat type ":" path) IMO, the following is nicer: (funcall (if (fboundp 'url-encode-url) #'url-encode-url #'org-link-escape-browser) (concat type ":" path)) Also, it's better to document this in the source code rather than in the test suite. Also, you could add, as a reminder, that we can remove `org-link-escape-browser' altogether once we drop support for Emacs 23. > - (browse-url (concat org-doi-server-url > - (org-link-escape-browser path > + ;; see `ert-deftest' > + ;; `test-org/org-link-escape-chars-browser' > + (browse-url > + (if (fboundp 'url-encode-url) > + (url-encode-url (concat org-doi-server-url path)) > +(org-link-escape-browser (concat org-doi-server-url path) Ditto. > - (should > - (string= > -"http://some.host.com/form?&id=blah%2Bblah25"; > -(org-link-unescape > - (org-link-escape "http://some.host.com/form?&id=blah%2Bblah25";) > + (let ((a "http://some.host.com/form?&id=blah%2Bblah25";)) > +(should (string= a (org-link-unescape (org-link-escape a)) No need to change this. Moreover, I tend to prefer `should' outside the sexp because it is easier to debug, when needed (`should' is quite opaque when stepping through the function). > +;; This is the behavior of `org-open-at-point' when used together > +;; with an Emacs 24.3 or later where `url-encode-url' is available > +(when (fboundp 'url-encode-url) > + ;; "query="-space as plus sign > + (should (string= (concat query "%2Bsubject:%22Release+8.2%22") > +(url-encode-url (concat query plus > + ;; "query="-space as space > + (should (string= (concat query "%2Bsubject:%22Release%208.2%22") > +(url-encode-url (concat query space) You are testing `url-encode-url' here, not an Org function. Is it really required? Regards, -- Nicolas Goaziou
Re: [O] org-contacts, multi-line properties, postal addresses
* Norman Walsh wrote: > > Hello world, Hello Norman! > I'm just taking another look at org-contacts. I wonder what the best > practice is for dealing with multi-line properties like postal > addresses. I split them up to single lines. > I can just make them part of the entry, of course, not in a property, > but that seems oddly different from the other properites. I am afraid that there is no standard (yet). However, I can give you my personal approach: > ** Firstname Lastname :FirstnameLastname: > :PROPERTIES: > :TYPE: person > :TITLE: > :EMAIL: > :URL: > :MOBILE: 0043/ > :HOMEPHONE: > :WORKPHONE: > :PHONE: > :COMPANY: > :STREET: > :POSTALCODE: > :CITY: > :COUNTRY: Austria > :PHOTOGRAPH: [[photo:FirstnameLastname.jpg]] > :BORN: > :ITOLDTHEM_EMAIL: > :ITOLDTHEM_ADDRESS: > :ITOLDTHEM_PHONE: > :ADDRESS_CHANGE_METHOD: > :END: > > - first contact: ITOLDTHEM_* is used for automatically generating my email filter rules (spam-whitelist) and memorizing the level of information I gave out to companies. ADDRESS_CHANGE_METHOD is used to memorize email addresses, web pages, or contact information on how I am able to update my personal information such as address or phone number. In the next week or so I plan to implement a Python script that generates an iCal file out of my contacts.org so that my Android phone is able to import it (including photographs!). Stay tuned :-) HTH -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
[O] Org-mode issue with cyclic tasks and checkboxes
Hi, I am working with cyclic or repetitive tasks in org-mode, inside this task, I have several checkboxes. So when I finished all the list, normally I put the task as done, and new task with sublist of checkboxes is created for the next cycle, however, those checkboxes appears as ticked and I think should be unticked as it is new cycle task, e.g.: * TODO Cyclic monthly home [0/5] SCHEDULED: <2013-11-30 Sat +1m> - [ ] pay sauna - [ ] pay electricity - [ ] pay renting - [ ] pay internet - [ ] pay union Once I ticked all of them and put it as done, this is what I can see: * WIP Cyclic monthly home [5/5] SCHEDULED: <2014-01-30 Thu +1m> - State "DONE" from "WIP"[2013-11-06 Wed 20:49] :PROPERTIES: :LAST_REPEAT: [2013-11-06 Wed 20:49] :END: - [X] pay sauna <--- this should be unticked - [X] pay electricity <-- this should be unticked - [X] pay renting <-- this should be unticked - [X] pay internet <-- this should be unticked - [X] pay union <-- this should be unticked Am I missing something? or is some bug that should be fixed? I am using those versions: Emacs version: GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-08-30 on apocalipsis Org-mode version: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/local/share/emacs/24.3/lisp/org/) Regards, Borja Tarraso
Re: [O] [RFC] Change some defcustoms into defcont
On 16.11.2013, at 21:25, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> So: IF YOU HAVE CUSTOMIZED any of this variables, I'd like to hear about it. >> Otherwise, I now think that the proposal is actually good and should >> move ahead. > > I applied the patch. Thank you. - Carsten > > > Regards, > > -- > Nicolas Goaziou >
[O] [PATCH] org-compat: Support for getting data from Windows clipboard
I noticed that %x capture template doesn't work under Windows which made my templates non-portable, so I made this small change to org-get-x-clipboard to fix that. This is my very first patch, please let me know if it is acceptable. Thanks, Alex * lisp/org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data to get the clipboard data under Windows. TINYCHANGE --- lisp/org-compat.el | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index b714f13..a3eb960 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -190,10 +190,12 @@ If DELETE is non-nil, delete all those overlays." found)) (defun org-get-x-clipboard (value) - "Get the value of the x clipboard, compatible with XEmacs, and GNU Emacs 21." - (if (eq window-system 'x) - (let ((x (org-get-x-clipboard-compat value))) - (if x (org-no-properties x) + "Get the value of the x or Windows clipboard, compatible with XEmacs, and GNU Emacs 21." + (cond ((eq window-system 'x) + (let ((x (org-get-x-clipboard-compat value))) + (if x (org-no-properties x + ((and (eq window-system 'w32) (fboundp 'w32-get-clipboard-data)) + (w32-get-clipboard-data (defsubst org-decompose-region (beg end) "Decompose from BEG to END." --
[O] org-capture with function type target
Hi list, I'm been so frustrated when trying to use function as `target' in an org-capture' template, here is my example: 1. Create a file "~/test.org" and add a line "* Level 1", make sure to add a newline character after the inserted line 2. Set org-capture-template as: (setq org-capture-templates `(("t" "Test" entry (function (lambda () (set-buffer (org-capture-target-buffer "~/test.org")) (goto-char (point-max "* Level 2" :immediate-finish t))) 3. Type "C-c c t" 4. The result of "test.org" becomes: * Level 1 * Level 2 But what I wanted is: * Level 1 ** Level 2 I looked into "org-capture.el" and figured out that it is because when `:exact-position' is set, function `org-capture-place-entry' never insert template as a child of current entry. And `:exact-position' is set when Target is a function. I don't understand why it is designed this way, does it have to be this way? what can I do if I want to insert "Level 2" as a child of "Level 1" while using a function as template target? Thanks, York
Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> Glenn Morris writes: >> >>> "Sebastien Vauban" wrote: >>> But I wonder: how can you now reproduce it (and not before)? >>> >>> Because I downloaded a snapshot of Org. >>> Your problem is not with code that is in Emacs current trunk. >> >> Using Glenn's reproducer, I bisected it - another one for Nicolas's >> TODO list, proving once again that no good deed goes unpunished :-) >> >> 0cecf32a0ae559266555b96668dc305710366c96 is the first bad commit >> commit 0cecf32a0ae559266555b96668dc305710366c96 >> Author: Nicolas Goaziou >> Date: Sun Oct 27 11:09:17 2013 +0100 > > Well. The only thing related to load/autoload I can think of is calling > `org-element-cache-reset' in `org-mode' and `org-set-modules'. > > Could you try to replace these calls with > > (when (fboundp 'org-element-cache-reset) (org-element-cache-reset)) > > and test again? > > Assuming I've done everything correctly, this does not fix it. Here's the diff of what I did - let me know if I goofed: --8<---cut here---start->8--- diff --git a/lisp/org.el b/lisp/org.el index a3c1958..53eea84 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -373,7 +373,8 @@ When MESSAGE is non-nil, display a message with the version." (set var value) (when (featurep 'org) (org-load-modules-maybe 'force) -(org-element-cache-reset 'all))) +(when (fboundp 'org-element-cache-reset) (org-element-cache-reset 'all +;(org-element-cache-reset 'all))) (defcustom org-modules '(org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail) "Modules that should always be loaded together with org.el. @@ -5361,7 +5362,8 @@ The following commands are available: ;; Comments. (org-setup-comments-handling) ;; Initialize cache. - (org-element-cache-reset) + ;; (org-element-cache-reset) + (when (fboundp 'org-element-cache-reset) (org-element-cache-reset)) ;; Beginning/end of defun (org-set-local 'beginning-of-defun-function 'org-backward-element) (org-set-local 'end-of-defun-function 'org-forward-element) --8<---cut here---end--->8--- > Regards, -- Nick
Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice
Nicolas Goaziou writes: >> 0cecf32a0ae559266555b96668dc305710366c96 is the first bad commit >> commit 0cecf32a0ae559266555b96668dc305710366c96 >> Author: Nicolas Goaziou >> Date: Sun Oct 27 11:09:17 2013 +0100 > > Well. The only thing related to load/autoload I can think of is calling > `org-element-cache-reset' in `org-mode' and `org-set-modules'. > > Could you try to replace these calls with > > (when (fboundp 'org-element-cache-reset) (org-element-cache-reset)) > > and test again? > I started emacs with emacs -Q -L ~/src/emacs/org/org-mode/lisp -l double-load.el where double-load.el looks like this: --8<---cut here---start->8--- (defun foobar () (message "LOADED") (sit-for 3) (message "")) (setq org-load-hook (function foobar)) --8<---cut here---end--->8--- and edebugged foobar. Then I did a C-x C-f foo.org. It stopped twice at foobar and I got backtraces (this is with the version that includes the change you suggested above). The first time it stopped, the backtrace looked like this: --8<---cut here---start->8--- foobar() run-hooks(org-load-hook) eval-buffer(# nil "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) load-with-code-conversion("/home/nick/src/emacs/org/org-mode/lisp/org.el" "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) require(org) eval-buffer(# nil "/home/nick/src/emacs/org/org-mode/lisp/org-element.el" nil t) load-with-code-conversion("/home/nick/src/emacs/org/org-mode/lisp/org-element.el" "/home/nick/src/emacs/org/org-mode/lisp/org-element.el" nil t) (org-element-cache-reset (quote all)) (progn (org-element-cache-reset (quote all))) (if (fboundp (quote org-element-cache-reset)) (progn (org-element-cache-reset (quote all (lambda (var val) (set var val) (if (fboundp (quote org-element-cache-reset)) (progn (org-element-cache-reset (quote all)(org-footnote-section "Footnotes") custom-initialize-set(org-footnote-section "Footnotes") custom-declare-variable(org-footnote-section "Footnotes" "Outline heading containing footnote definitions.\n\nThis can be nil, to place footnotes locally at the end of the\ncurrent outline node. If can also be the name of a special\noutline heading under which footnotes should be put.\n\nThis variable defines the place where Org puts the definition\nautomatically, i.e. when creating the footnote, and when sorting\nthe notes. However, by hand you may place definitions\n*anywhere*.\n\nIf this is a string, during export, all subtrees starting with\nthis heading will be ignored.\n\nIf you don't use the customize interface to change this variable,\nyou will need to run the following command after the change:\n\n \\[universal-argument] \\[org-element-cache-reset]" :group org-footnote :initialize custom-initialize-set :set (lambda (var val) (set var val) (if (fboundp (quote org-element-cache-reset)) (progn (org-element-cache-reset (quote all) :type (choice (string :tag "Collect footnotes under heading") (const :tag "Define footnotes locally" nil))) eval-buffer(# nil "/home/nick/src/emacs/org/org-mode/lisp/org-footnote.el" nil t) load-with-code-conversion("/home/nick/src/emacs/org/org-mode/lisp/org-footnote.el" "/home/nick/src/emacs/org/org-mode/lisp/org-footnote.el" nil t) require(org-footnote) eval-buffer(# nil "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) load-with-code-conversion("/home/nick/src/emacs/org/org-mode/lisp/org.el" "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(t t) find-file-noselect-1(# "~/src/emacs/org/org-mode/foo.org" nil nil "~/src/emacs/org/org-mode/foo.org" nil) find-file-noselect("~/src/emacs/org/org-mode/foo.org" nil nil t) find-file("~/src/emacs/org/org-mode/foo.org" t) call-interactively(find-file nil nil) command-execute(find-file) --8<---cut here---end--->8--- The second time it stopped, the backtrace looked like this: --8<---cut here---start->8--- foobar() run-hooks(org-load-hook) eval-buffer(# nil "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) load-with-code-conversion("/home/nick/src/emacs/org/org-mode/lisp/org.el" "/home/nick/src/emacs/org/org-mode/lisp/org.el" nil t) org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(t t) find-file-noselect-1(# "~/src/emacs/org/org-mode/foo.org" nil nil "~/src/emacs/org/org-mode/foo.org" nil) find-file-noselect("~/src/emacs/org/org-mode/foo.org" nil nil t) find-file("~/src/emacs/org/org-mode/foo.org" t) call-interactively(find-file nil nil) command-execute(find-file) --8<---cut here---end--->8--- Hope this helps. -- Nick
Re: [O] Emulate a wiki a la wikidpad
I'm looking for something inside emacs, not exported. Org-wikinodes does not work with filenames (although I can see it could be easy to add). I want something like wikidpad. Cheers. On Wed, Oct 30, 2013 at 3:19 PM, Jambunathan K wrote: > > I am in the process of adding support for Org-mode markup to the Oddmuse > wiki engine. I call the new wiki "Orgmuse". > > Interested people can watch for my announcements in this space. > > http://www.oddmuse.org/wiki/Org_Markup_Extension > > or watch the churnings in > > http://repo.or.cz/w/orgmuse.git > > I planning to merge the Org modules to Oddmuse repo. > > Marcelo de Moraes Serpa writes: > > > Hey guys, > > > > I love orgmode and I've been using it for many years. I know there are > > wiki extensions for it and other extensions for emacs, but I've never > > found something as easy and straightforwards as WikiDPad. Wikidpad is > > a real-time wiki. It's really cool (http://wikidpad.sourceforge.net/). > > > > What I'm looking for is an extension that could automatically link > > camecased words in org files, and create its respective file in a > > specific directory, if the file does not exist. I know it wouldn't be > > too difficult to implement, but I'd like to check here first before > > trying to come up with a solution myself. > > > > The rationale is that it's a really great way to keep reference data, > > and since it's in real time, you don't need to export to a format like > > HTML to view it. It's just so convenient when brainstorming or for > > keeping notes. > > > > Cheers! > > > > Marcelo. >
[O] bug#15896: 24.3.50; Org-8.0: M-x customize-changed 24.3 doesn't show new export options
Jambunathan K writes: >> I already did, as did everyone else. You are the only exception. > > I am not the only exception. See this post, where the change in the > prefix is affecting existing customization. One of the suggestions I > made was to establish an alias or an obsolete alias for defcustoms. > > http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00601.html I enhanced the docstrings of `org-export-with-sub-superscripts' and `org-use-sub-superscripts' to explain the decoupling of these two variables since 8.0, and I fixed the :version and :version-package. Thanks for the heads up. -- Bastien