Re: Bibliography entry in the menu-bar
Nick Dokos writes: > Sharon Kimble writes: > >> Simon Butler writes: >> >>> Hi Sharon >>> >>> the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX) >> >> Thanks Simon, I've now been able to provide a key-sequence for 'Online >> Resource' like so - >> >> (global-set-key "\C-c C-e C-o" 'bibtex-Online) >> >> >> however, it is shown in the drop-down-menu of bibtex commands as >> >> Online Resource C-c SPC C-e SPC C-o >> >> How can I lose the 'SPC' in the drop-down list of commands please, so it >> looks very similar to all the others? >> > > IIUC, you want to say > >(global-set-key (kbd "C-c C-e C-o") 'bibtex-Online) Thanks Nick, this works :) Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = https://www.drugfacts.org.uk Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6 signature.asc Description: PGP signature
Bug: Repeating tasks no longer appearing on future dates in the agenda [9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/)]
Hi All, As of recently, repeating tasks are no longer showing up in the agenda for future dates. Below a minimal example of the issue: Start "emacs -Q" and do some setup: #+begin_src emacs-lisp (package-initialize) (setq org-agenda-files '("~/test/agenda.org")) #+end_src Where "~/test/agenda.org" contains: #+begin_src org ,* TODO weekly task SCHEDULED: <2020-02-29 Sat +1w> #+end_src Open the agenda: "M-x org-agenda RET a", navigate for future dates and notice only the first instance of the repeating task is shown. I can narrow the emergence of the problem between the following org-plus-contrib versions. Latest working: Org mode version 9.3.2 (9.3.2-8-g47b104-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200127/) First non-working: Org mode version 9.3.2 (9.3.2-24-g5c72d6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200203/) Best, Gustavo. Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-11-11 Package: Org mode version 9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/) current state: == (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-agenda-files '("~/test/agenda.org") org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"] ) ("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"]
Re: Bug: Repeating tasks no longer appearing on future dates in the agenda [9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/)]
Hi Gustavo, Gustavo Barros writes: > Hi All, > > As of recently, repeating tasks are no longer showing up in the agenda > for future dates. Below a minimal example of the issue: Thanks for the report and the minimal example to trigger the issue. This bisects to 39c656870 (org-agenda.el: Fix handling of one-time delays, 2020-02-01), which was part of the 9.3.3 release. I believe this is the thread that prompted that change: https://lists.gnu.org/archive/html/emacs-orgmode/2020-01/msg00353.html
Re: Bibliography entry in the menu-bar
hi On 2020-02-28 10:36, Sharon Kimble wrote: > Simon Butler writes: > >> Hi Sharon >> >> the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX) > Thanks Simon, I've now been able to provide a key-sequence for 'Online > Resource' like so - > > --8<---cut here---start->8--- > (global-set-key "\C-c C-e C-o" 'bibtex-Online) > --8<---cut here---end--->8--- > > however, it is shown in the drop-down-menu of bibtex commands as > > --8<---cut here---start->8--- > Online Resource C-c SPC C-e SPC C-o > --8<---cut here---end--->8--- > > How can I lose the 'SPC' in the drop-down list of commands please, so it > looks very similar to all the others? (global-set-key "\C-c\C-e\C-o" 'bibtex-Online) should eliminate the spaces afaik Simon > Thanks > Sharon. > >> hth >> >> Simon >> >> On 2020-02-26 17:14, Sharon Kimble wrote: >>> I'm hoping that someone can help, but when I'm in a buffer of my >>> bibliography, there is a drop-down list in the menu-bar, of buffer >>> commands titled 'Entry-Types'. But what program puts it there? >>> >>> I want to create a new command to an entry in it, but I don't know what >>> the originating program is. Can anyone help please? >>> signature.asc Description: OpenPGP digital signature
Re: Customize TODO log drawer
... could the answer be that LOGBOOK is a general drawer and a PROPERTIES drawer two different classes of drawers? That is, PROPERTIES allows key/value fields while LOGBOOK just allows text? On Fri, Feb 28, 2020 at 12:08 PM Lawrence Bottorff wrote: > I've gone to my org-log-into-drawer customize menu and it says "Not into a > drawer" even though a C-u C-c C-t gets me the org-todo-keyword list, and > when I chose TODO, I get an LOGBOOK entry form. Good. This is indeed the > behavior I want, i.e., always make a "log entry" upon a TODO choice. > However, I'd like to customize the LOGBOOK drawer to include more, for > example I have this in my tempo templates: > > (tempo-define-template "org-PROPERTIES_time-vertex-edge-level" > '(":PROPERTIES:" n > ":HLEVEL: " (borgauf/insert-level) n > ":Time: " (borgauf/insert-dateutc.1) n > ":ID: " (borgauf/insert-uuid) n > ":LINKS: " n > ":END:" ) > " 'org-tempo-tags) > > So this is what I'd like each "log entry" to have in its drawer besides my > notes. Is it possible to customize the logging to have this extra stuff in > the drawer? > > LB >
Bug: Export dispatcher scrolling with hidden top [9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/)]
Hi All, The export dispatcher scrolling seems to interact unfavorably general Emacs scroll option "scroll-margin", in particular, setting it a positive displaces the dispatcher upwards, eventually hiding completely the options section at the top, even when there is space in the frame/window to fit the whole dispatcher. You can scroll back to it, but it seems both inconvenient and hard to find if one does not know "it should be there". I hope the following minimal example is reproducible by you. But it might not be, given the interaction with frame size, results may well depend on things which are not controlled. Besides, even though I managed to come up with this reproducible (to me) example, I'm still not sure I grasp properly the interactions involved. So, in case you cannot reproduce, I can provide further info as requested. Start "emacs -Q" and do some setup: #+begin_src emacs-lisp (package-initialize) (add-to-list 'default-frame-alist '(height . 42)) (setq scroll-margin 3) #+end_src Find an Org file in other frame with "C-x 5 f". Run org-export-dispatch ("C-c C-e"), and see that the top of the dispatcher is not visible. Best, Gustavo. Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-11-11 Package: Org mode version 9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/) current state: == (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
Re: Need Guidance in developing and generating code using org-mode
Hi, Kokou, Adding to what Leslie Watter writes: >>- Under Register, and Login heading, How do i generate html forms >>which will post entries to specific destinations? and also generate code >>for capturing the data? >> >> To use forms, you'll probably will use raw HTML: > > https://orgmode.org/manual/Quoting-HTML-tags.html#Quoting-HTML-tags > And for capturing the data, you will of course need to provide scripts on a server as targets for the html forms. Org is great for quick writing and exporting to HTML. It can also be used to publish whole static websites and blogs. Some people use a combination of Org and other static blogging tools, like Jekyll, which adds some helpful functionality. However, if you want to dynamically serve pages only to logged-in users, Org-mode may not be the tool you are looking for. You may want to look at blogging platforms or content management systems. (If you like writing in Org, you can still use it for drafting.) Yours, Christian
Re: Bibliography entry in the menu-bar
Simon Butler writes: > Hi Sharon > > the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX) Thanks Simon, I've now been able to provide a key-sequence for 'Online Resource' like so - --8<---cut here---start->8--- (global-set-key "\C-c C-e C-o" 'bibtex-Online) --8<---cut here---end--->8--- however, it is shown in the drop-down-menu of bibtex commands as --8<---cut here---start->8--- Online Resource C-c SPC C-e SPC C-o --8<---cut here---end--->8--- How can I lose the 'SPC' in the drop-down list of commands please, so it looks very similar to all the others? Thanks Sharon. > hth > > Simon > > On 2020-02-26 17:14, Sharon Kimble wrote: >> I'm hoping that someone can help, but when I'm in a buffer of my >> bibliography, there is a drop-down list in the menu-bar, of buffer >> commands titled 'Entry-Types'. But what program puts it there? >> >> I want to create a new command to an entry in it, but I don't know what >> the originating program is. Can anyone help please? >> -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = https://www.drugfacts.org.uk Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6 signature.asc Description: PGP signature
Re: ICS agenda export exceeds max-specpdl-size probably because of org-depend (org-edna same?)
This week, the error re-appeared. * Karl Voit wrote: > > Thanks for the advice. I ran three test runs in order to find out how output > is > affected: > > > Testrun with disabled org-depend: > emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn > (my-export-agenda)) >261.95s user 1.57s system 99% cpu 4:24.01 total > > → I got a result without error > > > Testrun with enabled org-depend: > emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn > (my-export-agenda))' >117.58s user 1.46s system 99% cpu 1:59.60 total > > → much faster result without error :-) (probably caching?) > > > revoking the two suggested changes and do another test run with org-depend, > expecting error: > emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn > (my-export-agenda))' >114.38s user 1.53s system 99% cpu 1:56.33 total > > → much faster result without error (contrary to expection) > > > → the two setting changes do not have an effect for now regarding > error/no error due to the fact that I can not reproduce the > error. > > Retrying when error re-appears. - setting `org-agenda-before-write-hook' to nil - `org-icalendar-include-body': 42 - enabled org-depend : emacs-snapshot --batch --load /home/vk/.emacs.d/init.el --eval '(progn (my-export-agenda))' → did not finish after running for 4 hours (aborted) - setting `org-agenda-before-write-hook' to nil - `org-icalendar-include-body': 42 - *disabled org-depend* → produced output within 4min39s - setting `org-agenda-before-write-hook' to default - `org-icalendar-include-body': to default - disabled org-depend → produced output within 2min07s Any other test you want me to run? -- get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode: > get Memacs from https://github.com/novoid/Memacs < Personal Information Management > http://Karl-Voit.at/tags/pim/ Emacs-related > http://Karl-Voit.at/tags/emacs/
Re: Incident tracking
I can see that an "incident" can be seen as a TODO; indeed, anything event can start as a TODO, then move on in status to one of your other org-todo-keyword entries. Question: When I start the TODO process, and then update the status, once or more times, finally, perhaps with DONE, is there a record of this "Werdegang," this process? On Thu, Feb 27, 2020 at 7:50 PM Samuel Wales wrote: > i have no right to respond as i have 483 scheduleds and 28 deadlines > and i get lost even trying to get one thing done per week, but i just > wanted to add to the advice so far. > > there is org-edna for dependencies. org-depend also, but i think it > lacks the feature of scheduling a remote org-id header once a local > one is doneified. > > it is useful to stick inactive timestamps at boh on headlines, so you > can do all sorts of things like visually bisect to find what you are > looking for, search only the visible headlines, etc. this makes for > good logging. [others will recommend date trees instead.] > > i like this type of discussion as we have had few of them in the last > 8 years or so and there is much insight for usage and even fodder for > better features or refactoring, i think. > > gtd is too labor-intensive for myself, but others will suggest reading > materials if you think it fits. > > org is flexible so it's really a toolkit for figuring out your own > structures. i'd suggest not getting too fancy at first because yagni > sometimes applies. > > === > > i find it useful to think of my org forest as an ontology of > representations of preferably physical objects that become canonical > locations in it. > > thus, your washer is one holon [subtree] and you always know where to > refile to for it. then you don't need tags as much; you can use org > id links to make the forest a digraph. location determines identity. > > this is in contrast to, for example "stuff to do for maintenance". > > -- > The Kafka Pandemic > > What is misopathy? > > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html >
Re: Need Guidance in developing and generating code using org-mode
Hi Kokou, In addition to what others have said, you might want to use Hugo ( https://gohugo.io/) for producing your website, and in this case you can use the fantastic ox-hugo (https://ox-hugo.scripter.co/) to manage the contents from within org-mode. It should be possible to use Hugo's features to implement all the features you have mentioned. --Diego On Fri, Feb 28, 2020 at 3:11 PM Christian Moe wrote: > > Hi, Kokou, > > Adding to what Leslie Watter writes: > > >>- Under Register, and Login heading, How do i generate html forms > >>which will post entries to specific destinations? and also generate > code > >>for capturing the data? > >> > >> To use forms, you'll probably will use raw HTML: > > > > https://orgmode.org/manual/Quoting-HTML-tags.html#Quoting-HTML-tags > > > > And for capturing the data, you will of course need to provide scripts > on a server as targets for the html forms. > > Org is great for quick writing and exporting to HTML. It can also be > used to publish whole static websites and blogs. Some people use a > combination of Org and other static blogging tools, like Jekyll, which > adds some helpful functionality. > > However, if you want to dynamically serve pages only to logged-in users, > Org-mode may not be the tool you are looking for. You may want to look > at blogging platforms or content management systems. (If you like > writing in Org, you can still use it for drafting.) > > Yours, > Christian > >
Re: Incident tracking
Lawrence On Fri, Feb 28, 2020 at 09:26:06AM -0600, Lawrence Bottorff wrote: > I can see that an "incident" can be seen as a TODO; indeed, anything event > can start as a TODO, then move on in status to one of your other > org-todo-keyword entries. Question: When I start the TODO process, and then > update the status, once or more times, finally, perhaps with DONE, is there > a record of this "Werdegang," this process? You can set Org to capture the timestamp when you change the item to DONE. As a consultant I frequently timestamp all of my work by inserting an inactive timestamp each time I switch tasks or return to the computer. That way in the agenda view I can review what happened and when. If you are more interested in automated time reporting, Org has options for that too. See clock-in and clock-out. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: Bibliography entry in the menu-bar
Sharon Kimble writes: > Simon Butler writes: > >> Hi Sharon >> >> the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX) > > Thanks Simon, I've now been able to provide a key-sequence for 'Online > Resource' like so - > > (global-set-key "\C-c C-e C-o" 'bibtex-Online) > > > however, it is shown in the drop-down-menu of bibtex commands as > > Online Resource C-c SPC C-e SPC C-o > > How can I lose the 'SPC' in the drop-down list of commands please, so it > looks very similar to all the others? > IIUC, you want to say (global-set-key (kbd "C-c C-e C-o") 'bibtex-Online) -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler
Customize TODO log drawer
I've gone to my org-log-into-drawer customize menu and it says "Not into a drawer" even though a C-u C-c C-t gets me the org-todo-keyword list, and when I chose TODO, I get an LOGBOOK entry form. Good. This is indeed the behavior I want, i.e., always make a "log entry" upon a TODO choice. However, I'd like to customize the LOGBOOK drawer to include more, for example I have this in my tempo templates: (tempo-define-template "org-PROPERTIES_time-vertex-edge-level" '(":PROPERTIES:" n ":HLEVEL: " (borgauf/insert-level) n ":Time: " (borgauf/insert-dateutc.1) n ":ID: " (borgauf/insert-uuid) n ":LINKS: " n ":END:" ) "