Re: [PATCH] org-mac-link: Disable Evernote capture by default
Aaron Jensen writes: > On Wed, Feb 17, 2021 at 9:55 AM Aaron Jensen wrote: >> >> The two `shell-command-to-string` invocations during eval are >> extremely slow. Users of Evernote should `org-mac-grab-Evernote-app-p` >> and `org-mac-evernote-path` explicitly. > > Hi all, > > Any chance of getting this merged in? It's a pretty nasty one for mac users. Thanks for the patch. Ideally someone that uses macOS would provide a review. Based on the history of the file, I've cc'd two people that may be willing/able to do so. Note that the plan is to move contrib/ to a separate repo [1], with the eventual goal of each file being maintained elsewhere, in case you or others are interested. [1] https://orgmode.org/list/87wnzfy60h@bzg.fr
Re: [PATCH] Add tests for org agenda bulk functions
Thanks, pushed (63c5cacb0).
Re: contact management in emacs
host> > Content-Type: text/plain > > David Masterson writes: > > > Interesting, but then how do you get the list? I mean is there an > > agenda to use? > > Generally yes, you can use agenda. Or you can use sparse tree (more > manual). > For agenda, if you customise org-log-done, you can use > org-agenda-log-mode ("v l" or "v L" in an agenda buffer). You can add > archived items as well with "v a" or/and "v A". > > Just org-agenda-log-mode will show everything, not just calls. Narrowing > to calls only will depend on how you define a todo, which is a call. > > If you use something like PHONE or CALL todo keywords, it might be > slightly tricky. You will need to customise org-todo-keywords, so that > your CALL->DONE changes are recorded (see the org-todo-keywords > docstring). You will also need to filter displayed items in agenda by > regexp involving the keyword you use to define the call. > > An easier way could be marking your calls with a tag. Then, you can > filter your org-agenda-log by that tag to show only calls. > > Hope it helps. > > Best, > Ihor > > > > > -- > > Message: 15 > Date: Sat, 27 Feb 2021 14:38:47 +0800 > From: Ihor Radchenko > To: Samuel Wales , David Masterson > > Cc: Tim Cross , emacs-orgmode@gnu.org > Subject: Re: Tips on maintaining history in Org Mode > Message-ID: <87a6rqc8w8.fsf@localhost> > Content-Type: text/plain > > Samuel Wales writes: > > > perhaps also changing org-archive-file-header-format to allow a format > > thingie for a timestamp would allow you to take parts of an archive > > file and move them into one per year without having to put the date in > > each archived entry. > > FYI: I have implemented automatic per-year archiving, which is correctly > handled by other org commands in my personal config: > https://github.com/yantar92/emacs-config/blob/master/config.org#archiving > > Best, > Ihor > > > > > -- > > Message: 16 > Date: Sat, 27 Feb 2021 14:42:03 +0800 > From: Ihor Radchenko > To: Samuel Wales , David Masterson > > Cc: emacs-orgmode@gnu.org > Subject: Re: Tips on maintaining history in Org Mode > Message-ID: <877dmuc8qs.fsf@localhost> > Content-Type: text/plain > > Samuel Wales writes: > > [currently the archiver is so slow i can't use it] > > Are your existing archives very big (few Mbs)? If so, you may try to > speed up the archiving using feature/org-fold branch [1]. If that is not > enough, I recommend splitting archives on yearly basis [2] or disabling > font-lock in archive files. > > Best, > Ihor > > [1] https://github.com/yantar92/org > [2] > https://github.com/yantar92/emacs-config/blob/master/config.org#archiving > > > > > -- > > Message: 17 > Date: Sat, 27 Feb 2021 12:08:04 +0100 > From: Alan Schmitt > To: "emacs-orgmode" > Subject: contact management in emacs > Message-ID: <87lfb9bwff@m4x.org> > Content-Type: text/plain; charset="utf-8" > > Hello, > > This may be slightly off-topic for the list, but as I’m considering > org-contacts for my question, I hope it will be of interest here. > > I would like to migrate my contact management to emacs, as I’m already > using it for email. My requirements are the following ones: > - address completion in emacs email clients (I currently use notmuch) > - support for multiple email addresses and custom fields > - creation of org links to contacts > - export to vcard format for synchronization to my mobile phone (using > vdirsyncer) > - keep the data under version control > > I have looked at two tools, which almost seem fit for the job. > - ebdb does most of this, with the exception of vcard export (it seems > to be worked on, https://github.com/girzel/ebdb/issues/60), and I’m not > sure using version control on an sqlite file is a good idea. > - org-contacts also seem to have all the required features, including > vcard export (and if not sufficient there is > https://github.com/novoid/org-contacts2vcard). I was worried it was > unmaintained when looking at the copyright line, but I see in > > https://code.orgmode.org/bzg/org-mode/commits/master/contrib/lisp/org-contacts.el > that there are recent commits to the file. > > Do you manage your contacts in emacs? And if so, what tools or workflow > do you recommend? > > Best, > > Alan > -- next part -- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 528 by
Re: content management in emacs
Martin Steffen writes: > I am not sure about the question. If I send to an email list, it's an > address in BBDB. So I ``invoke'' BBDB (M-x bbdb) and give it the name of > the entry (say org-mode). That's analogous to send to a person: If you > remember the name (or part of the name), you find the entry, send then > compose an email ("m") on the entry. There is also helm-bbdb, wich is very useful (https://github.com/emacs-helm/helm-bbdb). For Gnus I have defined this: #+begin_src emacs-lisp (require 'helm-bbdb) (setq message-completion-alist '(("^\\(Newsgroups\\|Followup-To\\|Posted-To\\|Gcc\\):" . message-expand-group) ("^\\(Resent-\\)?\\(To\\|B?Cc\\):" . helm-bbdb-expand-name) ("^\\(Reply-To\\|From\\|Mail-Followup-To\\|Mail-Copies-To\\):" . helm-bbdb-expand-name) ("^\\(Disposition-Notification-To\\|Return-Receipt-To\\):" . helm-bbdb-expand-name))) #+end_src And to insert an address at point (for example, in Org, in the `mail_to' property): #+begin_src emacs-lisp (defun my-insert-mail-address-helm-bbdb (_candidate) (save-window-excursion (helm-bbdb--view-person-action-1 (helm-bbdb--marked-contacts)) (call-interactively 'bbdb-mail-address) (kill-buffer)) (yank)) (add-to-list 'helm-bbdb-actions '("Insert mail address" . my-insert-mail-address-helm-bbdb)) #+end_src Regards, Juan Manuel
Re: content management in emacs
> "Ian" == Ian Garmaise writes: Ian> Hi Bob, Ian> How do you send mail to mailing lists with BBDB? Do you use a I am not sure about the question. If I send to an email list, it's an address in BBDB. So I ``invoke'' BBDB (M-x bbdb) and give it the name of the entry (say org-mode). That's analogous to send to a person: If you remember the name (or part of the name), you find the entry, send then compose an email ("m") on the entry. Tab-completion may help. If the question is: how do I send an email to all members of my chess club or drinking buddies? If you have added some field to persons of that circle (like "bridgeclub" or "drinkingbuddy", then you invoke bbdb with that match, and then there is a possibility to send an email to /all/ members of a matching list. For phoning, I am not sure. I think there is (or was) a functionality to initiate a call (probably with skype or ekiga or some such) but I never used that. Basically, for phoning, for me it's more like a rolodex, but a fast and big one Martin Ian> templating tool? Also, how do you start a phone call? Ian> Ian Ian> Message: 28 Date: Sat, 27 Feb 2021 06:53:57 -1000 From: Bob Ian> Newell To: "emacs-orgmode" Ian> Subject: Re: contact management in Ian> emacs Message-ID: Ian> Content-Type: text/plain Ian> I've used BBDB for years, and have tried org-contact, but it Ian> didn't seem to scale to the now rather large size of my BBDB Ian> database. Ian> I've looked at migrating to EBDB but as I have many custom Ian> functions I haven't yet made the move. Ian> BBDB can do amazing things. I've mentioned some of them Ian> before. Of course org links are supported, and in conjunction Ian> with the 'gnorb' package, Gnus email can be associated with Ian> BBDB entries in interesting ways. Ian> I use BBDB to easily maintain a slew of mailing lists. I also Ian> have custom functions to set the input language mode for those Ian> with whom I correspond in non-English languages. I even use Ian> BBDB to initiate phone calls when I'm on my desktop computer. Ian> I hadn't thought to put BBDB under version control but that Ian> would be very easy. Ian> However you don't need to get fancy right away. All the basics Ian> are there. Like many things Emacs, it does take time to get Ian> things set up the way you wish, but that time is well repaid Ian> down the road a little. Ian> -- Bob Newell Honolulu, Hawai`i Ian> - Via GNU/Linux/Emacs/Gnus/BBDB Ian> End of Emacs-orgmode Digest, Vol 180, Issue 30 Ian> ** Ian> -- = Ian Garmaise Consultant Phorix Solutions Group Ian> ia...@phorixsol.com Toronto cell: 416.432.2251 NYC: Ian> 917.512.9535 Ian> https://www.linkedin.com/in/igarmaise/ Ian> http://www.PhorixSol.com
Re: content management in emacs
Hi Bob, How do you send mail to mailing lists with BBDB? Do you use a templating tool? Also, how do you start a phone call? Ian Message: 28 > Date: Sat, 27 Feb 2021 06:53:57 -1000 > From: Bob Newell > To: "emacs-orgmode" > Subject: Re: contact management in emacs > Message-ID: > Content-Type: text/plain > > I've used BBDB for years, and have tried org-contact, but it > didn't seem to scale to the now rather large size of my BBDB > database. > > I've looked at migrating to EBDB but as I have many custom > functions I haven't yet made the move. > > BBDB can do amazing things. I've mentioned some of them > before. Of course org links are supported, and in conjunction > with the 'gnorb' package, Gnus email can be associated with > BBDB entries in interesting ways. > > I use BBDB to easily maintain a slew of mailing lists. I also > have custom functions to set the input language mode for those > with whom I correspond in non-English languages. I even use > BBDB to initiate phone calls when I'm on my desktop computer. > > I hadn't thought to put BBDB under version control but that > would be very easy. > > However you don't need to get fancy right away. All the basics > are there. Like many things Emacs, it does take time to get > things set up the way you wish, but that time is well repaid > down the road a little. > > -- > Bob Newell > Honolulu, Hawai`i > > - Via GNU/Linux/Emacs/Gnus/BBDB > > > > End of Emacs-orgmode Digest, Vol 180, Issue 30 > ** > -- = Ian Garmaise Consultant Phorix Solutions Group ia...@phorixsol.com Toronto cell: 416.432.2251 NYC: 917.512.9535 https://www.linkedin.com/in/igarmaise/ http://www.PhorixSol.com
Re: ob-reticulate: R+Python interface from Babel
Hello Jack, Many thanks for this package. It seems like a better way all together to manipulate python output. I admit that my python foo is decreasing more and more but #+BEGIN_SRC python :results output :session *Python* import pandas as pd df = pd.DataFrame({"X":[1,2,3], "Y":["a","b","c"]}) df #+end_src #+RESULTS: #+BEGIN_SRC python :results value :session *Python* import pandas as pd df = pd.DataFrame({"X":[1,2,3], "Y":["a","b","c"]}) df #+end_src #+RESULTS: :X Y : 0 1 a : 1 2 b : 2 3 c compared to your [1] example of reticulate is easier to work with. https://github.com/jackkamm/ob-reticulate Best regards, Jeremie On Saturday, 27 Feb 2021 at 06:15, Jack Kamm wrote: > Hi all, > > ob-reticulate is now available on MELPA. > > You can find more information here: > https://github.com/jackkamm/ob-reticulate > > Cheers, > Jack > -- Jeremie Juste
Re: contact management in emacs
Martin Steffen writes: > I use bbdb (big-brother data base). I use it since a looong time > already, and amassed 15000 or so contracts. It does what I want, it's > text-based, so versioning is not a problem. And it is fast; lookup feels instantaneous — different from many other address-manager solutions. Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.asc Description: PGP signature
Re: contact management in emacs
I've used BBDB for years, and have tried org-contact, but it didn't seem to scale to the now rather large size of my BBDB database. I've looked at migrating to EBDB but as I have many custom functions I haven't yet made the move. BBDB can do amazing things. I've mentioned some of them before. Of course org links are supported, and in conjunction with the 'gnorb' package, Gnus email can be associated with BBDB entries in interesting ways. I use BBDB to easily maintain a slew of mailing lists. I also have custom functions to set the input language mode for those with whom I correspond in non-English languages. I even use BBDB to initiate phone calls when I'm on my desktop computer. I hadn't thought to put BBDB under version control but that would be very easy. However you don't need to get fancy right away. All the basics are there. Like many things Emacs, it does take time to get things set up the way you wish, but that time is well repaid down the road a little. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB
Re: contact management in emacs
> "Eric" == Eric S Fraga writes: Eric> How do you get these to appear? Or is the "could" a wish? It's ``automatic''. The entry of the person needs a field "anniversary", if that's filled with a date in -mm-dd format, it's included (perhaps one has to set a variable like ``show-bbdb-anniversaries'' and/or load a corresponding elisp-addition.) Martin Eric> thank you, eric -- : Eric S Fraga via Emacs 28.0.50, Org Eric> release_9.4.4-231-gf46925
Re: contact management in emacs
Hi. Eric. > "Eric" == Eric S Fraga writes: [...] Eric> How do you get these to appear? Or is the "could" a wish? This is my setup: --8<---cut here---start->8--- (setq org-agenda-files (directory-files "~/docs/org/deft/" t ".*agenda\.org$")) --8<---cut here---end--->8--- ~/docs/org/deft/bbdb-anniversary-trick.agenda.org: --8<---cut here---start->8--- * anniversary [isodate] :PROPERTIES: :CATEGORY: bbdb :END: %%(when (fboundp 'my/org-bbdb-anniversaries) (my/org-bbdb-anniversaries)) --8<---cut here---end--->8--- --8<---cut here---start->8--- (defun my/org-bbdb-anniversaries () "It does not work on emacs-23" (when (/= 23 emacs-major-version) (org-bbdb-anniversaries) ) ) --8<---cut here---end--->8--- the bbdb record should have the field anniversary: --8<---cut here---start->8--- anniversary: 1960-03-03 custom --8<---cut here---end--->8--- Best Regards
Re: contact management in emacs
On Saturday, 27 Feb 2021 at 13:20, andrés ramírez wrote: > bbdb anniversaries could also appear on agenda: How do you get these to appear? Or is the "could" a wish? thank you, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-231-gf46925
ob-reticulate: R+Python interface from Babel
Hi all, ob-reticulate is now available on MELPA. You can find more information here: https://github.com/jackkamm/ob-reticulate Cheers, Jack
Re: contact management in emacs
Hi. Martin and Alan. > "Martin" == Martin Steffen writes: [...] Martin> Org is also bbdb-aware, insofar one can do those links: instead of [[file:][yyy]] Martin> one can use [[bbdb:somecriterion]]. bbdb anniversaries could also appear on agenda: --8<---cut here---start->8--- 10 days-agenda (W08-W09): Wednesday 24 February 2021 Thursday 25 February 2021 Friday 26 February 2021 Saturday 27 February 2021 Sunday 28 February 2021 Monday 1 March 2021 W09 Tuesday 2 March 2021 Wednesday 3 March 2021 bbdb: [[bbdb:Pedro ][Pedro 61st custom anniversary]] Thursday4 March 2021 Friday 5 March 2021 --8<---cut here---end--->8--- Andrés Ramírez
Re: Babel: Programmatically evaluate a heading and subtrees?
Can you use noweb? In the example below, if you run the top code block babel will run the two that follow. A drawback is that you have to redefine variables, but it might be a benefit, since the individual blocks could be set with test data and the "main driver" could point to real data. --- #+begin_src elisp :results output :noweb yes :var data=data1 <> <> #+end_src #+RESULTS: : called fun1: some data : called fun2 #+name: data1 some data #+name: fun1 #+begin_src elisp :var data=data1 (princ (format "called fun1: %s" data)) #+end_src #+name: fun2 #+begin_src elisp (princ "called fun2") #+end_src On Sat, Feb 20, 2021 at 2:11 PM Nathan Neff wrote: > > Hello all, > > I have some code like this: > > * Heading 1 > > # code block name:FOO > > ** Subheading 1 > > # code block > > ** Subheading 2 > > # code block > > I find that I often want to evaluate the code in Heading 1 and its > subheadings. > > Currently, I navigate to Heading 1 and then use org-babel-execute-subtree > > I see that there's a function called org-babel-goto-named-src-block, so I > think > I could write a small function to jump to FOO in Heading 1 and then run > execute subtree > and then jump back to my previous location in Emacs. > > Is there a more programmatic or built-in way? For example: > org-babel-execute-block-and-subheadings FOO > > Thanks, > --Nate
Re: [PATCH] org-mac-link: Disable Evernote capture by default
On Wed, Feb 17, 2021 at 9:55 AM Aaron Jensen wrote: > > The two `shell-command-to-string` invocations during eval are > extremely slow. Users of Evernote should `org-mac-grab-Evernote-app-p` > and `org-mac-evernote-path` explicitly. Hi all, Any chance of getting this merged in? It's a pretty nasty one for mac users. Thanks, Aaron
Re: [bug] org-yank in stars corrupts outline
On 27/02/2021 07:52, Samuel Wales wrote: i have org-yank-adjusted-subtrees t * org-yank is funny *** kill this line (with newline) then try yanking at ^ places (remove the ^ first) the fault lies in the stars insertion above and arbitrary demotion *** x asdfnaksdj fnkadsn fkjans df ^a^sdkfjnaksdfn kajsndfk ajdnsf askdjfkasjdn fkajfdns *^*^* y *** [[https://go^ogle.com]] from [[help:org-yank]] If it passes the test, and if the cursor is at the beginning of a line or after the stars of a currently empty headline, then the yank is handled specially. How exactly depends on the value of the following variables. In my opinion, your "^" marks do not satisfy the specified criteria. Personally I use [[help:org-paste-subtree]] C-c C-x C-y directly. It has a minor issue however. First time after emacs start it refuses to yank subtree from X clipboard (prepared externally). Regular paste with undo C-y C-/ is enough to convince the function that there is a subtree in the clipboard. Next time it works without such dance.
Re: contact management in emacs
I use bbdb (big-brother data base). I use it since a looong time already, and amassed 15000 or so contracts. It does what I want, it's text-based, so versioning is not a problem. I think it can do vcard export (though when I used vcards is a long time ago, I can't remember if that was smooth, I think it was with one of my first smart phone, and I wanted to quick fill up the phone book there with my ``emacs-managed'' contact data base.). One can add used defined fields (where one can ``match'' all contacts for some criterion, and send then ``bulk'' email. Org is also bbdb-aware, insofar one can do those links: instead of [[file:][yyy]] one can use [[bbdb:somecriterion]]. I don't know if it matches your needs, but I can't say bad things about that bbdb-thing. Martin
contact management in emacs
Hello, This may be slightly off-topic for the list, but as I’m considering org-contacts for my question, I hope it will be of interest here. I would like to migrate my contact management to emacs, as I’m already using it for email. My requirements are the following ones: - address completion in emacs email clients (I currently use notmuch) - support for multiple email addresses and custom fields - creation of org links to contacts - export to vcard format for synchronization to my mobile phone (using vdirsyncer) - keep the data under version control I have looked at two tools, which almost seem fit for the job. - ebdb does most of this, with the exception of vcard export (it seems to be worked on, https://github.com/girzel/ebdb/issues/60), and I’m not sure using version control on an sqlite file is a good idea. - org-contacts also seem to have all the required features, including vcard export (and if not sufficient there is https://github.com/novoid/org-contacts2vcard). I was worried it was unmaintained when looking at the copyright line, but I see in https://code.orgmode.org/bzg/org-mode/commits/master/contrib/lisp/org-contacts.el that there are recent commits to the file. Do you manage your contacts in emacs? And if so, what tools or workflow do you recommend? Best, Alan signature.asc Description: PGP signature
Simple org-publish configuration example in manual does not work
Hello, sorry for sending this email directly, but currently sending mail from Emacs does not work correctly. I was trying out the org-publishing functionality, but I found that the first example in the documentation given at https://orgmode.org/manual/Simple-example.html#Simple-example does not work. When I try to publish the project it errors with the following message org-publish-file: No publishing function chosen So I figured that I should add a :publishing-function and I remembered reading earlier in the documnetation, i.e. at https://orgmode.org/manual/Publishing-action.html#Publishing-action org-html-publish-to-html that org uses the default publishing-function org-publish-org-to-html But when trying to publish using that function then Emacs errors with the message org-publish-file: Symbol’s function definition is void: org-publish-org-to-html I have found the following error report from 17 Mar 2013, reporting exactly the same error (and a reply with the solution) https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01221.html It would be great if these two small point in the manual, which is otherwise great, could get updated. 1. add the required :publishing-function keyword to the documentation (with the correct function value) 2. change the name of the default function from org-publish-org-to-html -> *org-html-publish-to-html* Thank you! Best regards, Daniel Nicolai