Re: [O] [PATCH] org-manual: Small fixes
Cheong Yiu Fung writes: > * doc/org-manual.org (Handling Links): update variable > `org-id-link-to-org-use-id', which is changed in v7.9.2. Thanks. Because this was relevant for the maint branch as well, I adjusted your commit to apply to maint (tweaking the commit message slightly). -- Kyle
Re: [O] Show weekday in daily agenda view
db...@attentigroup.com (J. David Boyd) writes: > Nick Dokos writes: > >> johanna@th-koeln.de writes: >> >>> maybe I did not search the right way in google alias startpage. But I >>> could not figure out how to write next to the date e.g. 2000-04-01 the >>> weekday, i.e. the specific day of the week. It would come very handy to >>> have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or >>> even have it spelled out as 2019-05-14 Tuesday. >>> >> >> How do you generate that view? >> >> Doesn't your agenda view already show the day of the week? With the >> recommended keybinding, I get a daily agenda with C-c a a d. >> >> Mine starts like this: >> >> , >> | Day-agenda (W20): >> | Tuesday14 May 2019 >> |8:00.. >> | appts: 10:00-11:30 Tools Meeting >> | 10:00.. >> | 12:00.. >> | 14:00.. >> | 16:00.. >> | 18:00.. >> | 20:00.. >> | work: Sched.Xx: TODO Review PR >> | work: Sched.2x: TODO Add issue >> | Weather:OpenWeatherMap: light rain, 3-8°C, 1010hpa, 90%, 3m/s >> ` >> >> so it definitely shows the weekday, but perhaps you are doing something >> different? > > > How do you generate *that* view? How do you have it creating sub-groups? All > I get is a straight-forward list of days and times, with all items in chrono > order > Not sure what you mean by "sub-groups". And I'm pretty sure I don't do anything special to get this. The grid is the standard grid - I believe that comes "free" with the default settings of org-agenda-time-grid and org-agenda-use-time-grid. The appts:, work: and Weather: thingies are "categories" - the first two come from the name of the agenda file where the item originated: I have a work.org file for work items and an appts.org file which contains just reminders. It actually contains a bit more: there are top-level headlines for Anniversaries, Weather and Appointments like this: , | * Anniversaries |:PROPERTIES: |:CATEGORY: Anniv |:ID: 409062f6-6cb1-467f-b192-2dfcb7b384ca |:END: | %%(org-bbdb-anniversaries) | | * Weather | :PROPERTIES: | :CATEGORY: Weather | :END: | %%(org-weather) | | * Appointments | ** APPT Doctor appt | ` Items in the Appoinments section don't have a defined Category so they are labeled with the fill name ("appts"). Anniversaries and Weather items have a CATEGORY property so they are labeled by the explicit category. I don't remember whether I do anything special to sort the items (e.g. why the Weather item is always last). If you are interested in that, I can dig a little more into my configuration. Does that answer your question? -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler
[O] Cut and paste an entry programmatically
Hi all I would like to ask for some help to understand what am I doing wrong with this minimal complete example: #+begin_src org ,* 1 ,* 2 ,* 3 ,* 4 #+end_src #+begin_src emacs-lisp :results silent (defun temp () (org-cut-subtree) (org-forward-heading-same-level 2) (org-paste-subtree)) #+end_src When with point on 1 you do M-: (progn (save-excursion (temp)) (save-excursion (temp))) RET the resulting buffer is the expected reordered 3, 1, 2, 4. When you do M-: (save-excursion (temp)) RET M-: (save-excursion (temp)) RET the resulting buffer is 3, 1, 1, 2, 4 which is not what I want (Emacs 26.1 and today's Org mode master). Why is this and how to resolve? Michael
[O] bug#32722: 26.1; Org-publish depend on non-free platform ?
Le jeudi 16 mai 2019 à 17:16 +0200, Nicolas Floquet a écrit : > The problem is not solved on emacs 26.2. I have just humbly made a little commit wich is not the best solution, take in consideration that I am not a programmer… I can not currently do better ! :-) https://code.orgmode.org/nflqt/org-mode/commit/11206b40781b9f04912cb1c538a6b936c8dadc21 > Thank you for all the work done. Again. -- Nicolas Floquet 06.32.93.03.51 http://syntax61.fr/ https://deontobox.org/ http://www.pharmanerd.flqt.fr/ https://forum.normandie-libre.fr/ signature.asc Description: This is a digitally signed message part
[O] bug#32722: 26.1; Org-publish depend on non-free platform ?
Hello. Le jeudi 20 septembre 2018 à 22:18 -0400, Richard Stallman a écrit : > The real problem is that Emacs depends on something that ought to be > part of Emacs but isn't. This change makes the problem less blatant, > but doesn't really fix it. > > The change that has been made is good enough temporarily. > if people are going to implement replacement code soon, > we can leave it this way in the mean time. > The problem is not solved on emacs 26.2. $ git clone https://code.orgmode.org/bzg/org-mode.git $ cd org-mode $ grep github ./lisp/*el ./lisp/ob-clojure.el:;; For Cider, see https://github.com/clojure-emacs/cider * ./lisp/ob-groovy.el:;; https://github.com/russel/Emacs-Groovy-Mode ./lisp/ob-io.el:;; https://github.com/stevedekorte/io/blob/master/extras/SyntaxHighlighters/Emacs/io-mode.el ./lisp/ob-js.el:;; or mozrepl http://wiki.github.com/bard/mozrepl/ ./lisp/ob-js.el:;; http://wiki.github.com/bard/mozrepl/emacs-integration for ./lisp/ob-lisp.el:;; - https://github.com/capitaomorte/sly ./lisp/ob-lua.el:;; https://github.com/immerrr/lua-mode ./lisp/ob-processing.el:;; - processing2-emacs mode :: https://github.com/ptrv/processing2-emacs ./lisp/ob-ruby.el:;; http://github.com/eschulte/rinari/raw/master/util/ruby-mode.el ./lisp/ob-ruby.el:;; http://github.com/eschulte/rinari/raw/master/util/inf-ruby.el ./lisp/ob-sass.el:;; - sass-mode :: http://github.com/nex3/haml/blob/master/extra/sass-mode.el ./lisp/ob-shen.el:;; https://github.com/eschulte/shen-mode Thank you for all the work done. -- Nicolas Floquet 06.32.93.03.51 http://syntax61.fr/ https://deontobox.org/ http://www.pharmanerd.flqt.fr/ https://forum.normandie-libre.fr/ signature.asc Description: This is a digitally signed message part
[O] [babel] access table contents from table name in variable?
Hi, I have a table containing the names of other tables and I'd like to process the contents of each of the named tables. I've searched and read the docs but can't see any way to do this. I assume it must be possible with lisp magic but I don't know where to start with that. If I could call a code block with the table name and contents as arguments for each entry in the table of table names that would be perfect. Some more details if it helps: I'm tangling C source, some of which is produced by data in tables and python code blocks that I'm currently calling using noweb syntax with the table names as arguments. This works but the tables used as arguments are named in another table so I'd like to automate the function calls too. Thanks!
Re: [O] Show weekday in daily agenda view
Dear Johanna, for me (setq calendar-day-name-array ["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag" "Freitag" "Samstag"] calendar-month-name-array ["Januar" "Februar" "Maerz" "April" "Mai" "Juni" "Juli" "August" "September" "Oktober" "November" "Dezember"]) in .emacs results in German names. best regards, Heinz Prof. Dr. Johanna May wrote/hat geschrieben on/am 15.05.2019 07:42: Hi Richard, thanks for pointing me at the variable org-agenda-format-date. There was a line in my dotemacs that included a formatting without the weekday (something like %y-%w-%d). I could not figure out how the name-of-the-weekday format would be called. But for now I'm fine with returning to the default which gives me an English date including the weekday. Cheers, J Richard Lawrence writes: Hi Johanna, johanna@th-koeln.de writes: maybe I did not search the right way in google alias startpage. But I could not figure out how to write next to the date e.g. 2000-04-01 the weekday, i.e. the specific day of the week. It would come very handy to have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or even have it spelled out as 2019-05-14 Tuesday. Probably there is a way of setting this. How does it work? Hmm. My daily agenda (the default one) starts like this: Day-agenda (W20): Tuesday14 May 2019 and tasks, etc. are listed below that. I don't think I've ever customized this. Are you seeing something different? Or maybe you mean something else by "agenda"? If you're talking about Org's built-in agenda, you might want to take a look at the `org-agenda-format-date' variable. Mine is set to the org-agenda-format-date-aligned function, which I assume is what outputs the example above. If you're just talking about timestamps in Org files, you might want to look at the `org-time-stamp-custom-formats' and `org-display-custom-times' variables. Hope that helps! -- Heinz Tüchler +436605653878
[O] Bug: org-catch-invisible-edits still allows some invisible edits [9.1.9]
Steps to reproduce: 1. runemacs.exe -Q 2. In the scratch buffer, M-x org-mode 3. M-: (setq org-catch-invisible-edits 'show-and-error) (could be also reproduced with 'smart) 4. Replace the content of the scratch buffer with the following: * hello ** world 5. Position point at the end of "hello", press Tab to collapse. So it looks like this: * hello... 6. Press Del. Expected result: Edit should be prevented because it deletes invisible character. Actual result: Edit is performed without any warning. By the way, the editor ends up in corrupt state because the content of the buffer is now "* hello** world", but it is displayed as "* hello..." and you can't uncollapse it by pressing Tab anymore. Version info: GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 Org mode version 9.1.9 (release_9.1.0-65-g5e4542 @ c:/emacs/share/emacs/26.2/lips/org/)
[O] [PATCH] org-manual: Small fixes
* doc/org-manual.org (Handling Links): update variable `org-id-link-to-org-use-id', which is changed in v7.9.2. --- doc/org-manual.org | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 54b89e5bf..c519d310b 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -3173,17 +3173,17 @@ current buffer: to the target. Otherwise it points to the current headline, which is also the description[fn:28]. - #+vindex: org-link-to-org-use-id + #+vindex: org-id-link-to-org-use-id #+cindex: @samp{CUSTOM_ID}, property #+cindex: @samp{ID}, property If the headline has a =CUSTOM_ID= property, store a link to this custom ID. In addition or alternatively, depending on the value of - ~org-link-to-org-use-id~, create and/or use a globally unique =ID= - property for the link[fn:29]. So using this command in Org buffers - potentially creates two links: a human-readable link from the custom - ID, and one that is globally unique and works even if the entry is - moved from file to file. Later, when inserting the link, you need - to decide which one to use. + ~org-id-link-to-org-use-id~, create and/or use a globally unique + =ID= property for the link[fn:29]. So using this command in Org + buffers potentially creates two links: a human-readable link from + the custom ID, and one that is globally unique and works even if the + entry is moved from file to file. Later, when inserting the link, + you need to decide which one to use. - /Email/News clients: VM, Rmail, Wanderlust, MH-E, Gnus/ :: -- 2.21.0
Re: [O] LaTex Output with Index
Am 15.05.19 um 11:02 schrieb Fraga, Eric: > On Tuesday, 14 May 2019 at 23:58, Robert Love wrote: >> However, I have one hitch. How do I generate an index with an entry >> that has an “@“ symbol in it? > > Unfortunately, this is beyond my latex-fu. May have something to do > with @ being a protected symbol. If you want to play, you could try > > #+index: {\makeatletter @} term > > but this could lead you down a rabbit hole. Not sure how org & LaTeX & > makeindex will interact... I think the main reason is the fact that @ has special meaning within index entries: it tells where to put something for cases where the automatical sorting fails. I just googled and found the following advice: »In order to place values with !, @, or |, which are otherwise escape characters, in the index, one must quote these characters in the \index command by putting a double quotation mark (") in front of them, and one can only place a " in the index by quoting it (i.e., a key for " would be \index{""}). This rule does not hold for \", so to put the letter ä in the index, one may still use \index{a@\"{a}}.« So perhaps #+index: "@term works? HTH, Julius
[O] [PATCH] Manual update
>From 14ff6eb2b451471514206d5126c0af02125ec7e6 Mon Sep 17 00:00:00 2001 From: Cheong Yiu Fung Date: Mon, 13 May 2019 22:51:08 +0800 Subject: [PATCH] org-manual: Small fixes * doc/org-manual.org (Handling Links): update variable `org-id-link-to-org-use-id', which is changed in v7.9.2. --- doc/org-manual.org | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 54b89e5bf..c519d310b 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -3173,17 +3173,17 @@ current buffer: to the target. Otherwise it points to the current headline, which is also the description[fn:28]. - #+vindex: org-link-to-org-use-id + #+vindex: org-id-link-to-org-use-id #+cindex: @samp{CUSTOM_ID}, property #+cindex: @samp{ID}, property If the headline has a =CUSTOM_ID= property, store a link to this custom ID. In addition or alternatively, depending on the value of - ~org-link-to-org-use-id~, create and/or use a globally unique =ID= - property for the link[fn:29]. So using this command in Org buffers - potentially creates two links: a human-readable link from the custom - ID, and one that is globally unique and works even if the entry is - moved from file to file. Later, when inserting the link, you need - to decide which one to use. + ~org-id-link-to-org-use-id~, create and/or use a globally unique + =ID= property for the link[fn:29]. So using this command in Org + buffers potentially creates two links: a human-readable link from + the custom ID, and one that is globally unique and works even if the + entry is moved from file to file. Later, when inserting the link, + you need to decide which one to use. - /Email/News clients: VM, Rmail, Wanderlust, MH-E, Gnus/ :: -- 2.21.0 Hi there, here's a small patch the fixes mentions of `org-link-to-org-use-id' to `org-id-link-to-org-use-id' in the manual. Hope it helps. --- Cheong Yiufung
Re: [O] Show weekday in daily agenda view
Nick Dokos writes: > johanna@th-koeln.de writes: > >> maybe I did not search the right way in google alias startpage. But I >> could not figure out how to write next to the date e.g. 2000-04-01 the >> weekday, i.e. the specific day of the week. It would come very handy to >> have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or >> even have it spelled out as 2019-05-14 Tuesday. >> > > How do you generate that view? > > Doesn't your agenda view already show the day of the week? With the > recommended keybinding, I get a daily agenda with C-c a a d. > > Mine starts like this: > > , > | Day-agenda (W20): > | Tuesday14 May 2019 > |8:00.. > | appts: 10:00-11:30 Tools Meeting > | 10:00.. > | 12:00.. > | 14:00.. > | 16:00.. > | 18:00.. > | 20:00.. > | work: Sched.Xx: TODO Review PR > | work: Sched.2x: TODO Add issue > | Weather:OpenWeatherMap: light rain, 3-8°C, 1010hpa, 90%, 3m/s > ` > > so it definitely shows the weekday, but perhaps you are doing something > different? How do you generate *that* view? How do you have it creating sub-groups? All I get is a straight-forward list of days and times, with all items in chrono order Dave in Hudson, FL
[O] Org-agenda and error in tags position
Hi! I write because I am experiencing a problem with org agenda and more precisely with the positioning of the tags which as can be seen from the screenshot are always displayed on a new line (while I expect them to be displayed to the right of the task). It only happens with org-agenda. In .org files the display is correct The problem is with Org 9.2.3 and Emacs 26.1 on xubuntu 19.04. Here a screenshot of how the org-agenda view appears: https://share.riseup.net/#E1pz3vlYKm27KKTSTQE6qg I also tried a new .emacs configuration but nothing changes. Here the part of my configuration concerning org agenda: https://pad.riseup.net/p/Nv-AnovgxUkUlXwz3HzC I researched but did not find similar situations and a solution on the web. Can you give me a hand? Thanks a lot, -- leo
Re: [O] [PATCH] Ruby tests
Hello, Achim Gratz writes: > I no longer have the commit bit since the server software was changed. > If it still requires an account on the server then I don't intend to > create one, either. I don't remember. You may want to ask Bastien about it. The project certainly needs more contributors with commit rights. I pushed your fixes. Thank you. Regards, -- Nicolas Goaziou