Re: incorrect indentation of new item inserted with capture template

2022-10-29 Thread Ian Garmaise
Hi Ihor,

I figured out the problem.  Seems like date trees expect only list items
between date headlines.
I had been adding headlines between dates, and this seems to confuse the
insertion mechanism.  I now stick to list items and it works perfectly.
Might be a good idea to add something about this to the manual.

Thanks for following up.

Cheers,

Ian


On Sat, Oct 29, 2022 at 12:49 AM Ihor Radchenko  wrote:

> Ian Garmaise  writes:
>
> > I have had this problem for several months.
> >
> > I keep a daily journal.  Each morning I add a new entry in a journal file
> > using a capture template.  The journal file is always loaded.
> > On some occasions the indentation of the new entry is incorrect.
> >
> > Here's an example of incorrect indentation:
> >
> > *** 2021-12-05 Sunday
> >
> > - item 1
> > - item 2
> >
> > * 2021-12-06 Monday
> >
> > What I usually do is undo the insertion and reissue the command.
> > This always works.
>
> Sorry for the late reply.
> I am unable to reproduce the problem of the latest main.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>


-- 
=
Ian Garmaise
Consultant
Phorix Solutions Group
ia...@phorixsol.com
Toronto cell: 416.432.2251 (also on Whatsapp)

https://www.linkedin.com/in/igarmaise/

http://www.PhorixSol.com


Subject: Re: [patch] improved: add TTL as defcustom to ox-icalendar

2022-01-03 Thread Ian Garmaise
Hi Detlef, this is mentioned in the docs but IMHO isn't strongly emphasized
enough:

When installing or upgrading org-mode always run emacs -q to avoid loading
init.  I had a lot of trouble when switching to elpa and this was the only
way to get it to work.  In the end to be sure I deleted the old org-mode
library from the disk  (using list-packages) and made doubly sure that
there were no remnants.  Then restart with emacs -q and install from
list-packages from elpa.

If you don't do this you run a strong risk of getting a mixed install.


> --
>
> Message: 9
> Date: Mon, 3 Jan 2022 08:41:41 +0100
> From: Detlef Steuer 
> To: emacs-orgmode@gnu.org
> Subject: Re: [patch] improved: add TTL as defcustom to ox-icalendar
> Message-ID: <20220103084141.72d2f...@hsu-hh.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Thank you for the hints.
>
> Attached a diff -u version.
>
> The patch in principle is unrelated to nextcloud. That's just my
> use case. The addiditional TTL setting gives a hint to clients
> when to reload an imported ics file that was exported from org.
>
> Is there any document how to setup an org-mode developer environment?
> Normally I use git, but I even struggled to use org from elpa instead
> of the built-in version, so I avoided touching this house of cards :-)
>
> Probably I should use a git clone instead of elpa, if I want to work
> on org?
>
> Thx for the feedback!
> Detlef
>
>
> --
=
Ian Garmaise
Consultant
Phorix Solutions Group
ia...@phorixsol.com
Toronto cell: 416.432.2251 (also on Whatsapp)

https://www.linkedin.com/in/igarmaise/

http://www.PhorixSol.com


incorrect indentation of new item inserted with capture template

2021-12-06 Thread Ian Garmaise
art-with-clockreport-mode t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent
org-block-todo-from-checkboxes)
 org-link-parameters '(("eww" :follow org-eww-open :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)
  ("doi" :follow org-link-doi-open :export org-link-doi-export)
  ("attachment" :follow org-attach-follow :complete
org-attach-complete-link)
  ("id" :follow org-id-open) ("file+sys") ("file+emacs")
  ("shell" :follow org-link--open-shell)
  ("news" :follow
#[514 "\301\300\302 Q \"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
  ("mailto" :follow
#[514 "\301\300\302 Q \"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL
ARG)"])
  ("https" :follow
#[514 "\301\300\302 Q \"\207" ["https" browse-url ":"] 6 "\n\n(fn URL
ARG)"])
  ("http" :follow
#[514 "\301\300\302 Q \"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
  ("ftp" :follow
#[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
  ("help" :follow org-link--open-help :store org-link--store-help)
  ("file" :complete org-link-complete-file) ("elisp" :follow
org-link--open-elisp))
 org-agenda-start-with-log-mode t
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 4)
 )

-- 
=
Ian Garmaise
Consultant
Phorix Solutions Group
ia...@phorixsol.com
Toronto cell: 416.432.2251 (also on Whatsapp)

https://www.linkedin.com/in/igarmaise/

http://www.PhorixSol.com


Re: content management in emacs

2021-02-27 Thread Ian Garmaise
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: error when archiving two subtrees in a row

2020-12-17 Thread Ian Garmaise
I actually hadn't used the archive command in quite a while, so not sure
when the behavior in my situation changed. It does make sense though that
it might have something to do with the file being stored in a dropbox
folder.

Anyway,

(setq org-archive-subtree-save-file-p nil)

in the init file fixes it.

Thanks Kyle!


On Thu, Dec 17, 2020 at 12:37 AM Kyle Meyer  wrote:

> Ian Garmaise writes:
>
> > When I archive one subtree (C-c $), the first one succeeds.
> > The second archive operation fails with a permission denied error as
> shown
> > in the messages buffer:
> [...]
> > Noticed this yesterday.  Updated org and all packages, then tried it
> again
> > today, was able to reproduce it easily
>
> Hmm, was that an update from 9.3.* or earlier?  9.4 came with a new
> option org-archive-subtree-save-file-p.  With the default value, the
> file is saved when archiving from an Org buffer but not the agenda.
> Before 9.4 [*], the file was never saved, so you could set
> org-archive-subtree-save-file-p to nil to restore the pre-9.4 behavior.
>
> That should sidestep the issue, though I don't know why you're hitting.
> I'm guessing you only see it with dropbox files?
>
> [*] Going farther back, the behavior was to always save.  That changed
> in 9.1.4 63f6e851b (Do not save target buffer after archiving
> subtree, 2017-11-25).
>


-- 
=
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


error when archiving two subtrees in a row

2020-12-07 Thread Ian Garmaise
-speed-command-activate)
 org-odt-format-inlinetask-function
'org-odt-format-inlinetask-default-function
 org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el")
("elisp" . "el"))
 org-format-latex-options '(:foreground default :background default :scale
2.0 :html-foreground "Black" :html-background
   "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\("
"\\["))
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("eww" :follow org-eww-open :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)
  ("attachment" :follow org-attach-follow :complete
org-attach-complete-link) ("id" :follow org-id-open)
  ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell)
  ("news" :follow #[514 "\301\300\302 Q \"\207" ["news" browse-url ":"]
6 "\n\n(fn URL ARG)"])
  ("mailto" :follow #[514 "\301\300\302 Q \"\207" ["mailto" browse-url
":"] 6 "\n\n(fn URL ARG)"])
  ("https" :follow #[514 "\301\300\302 Q \"\207" ["https" browse-url
":"] 6 "\n\n(fn URL ARG)"])
  ("http" :follow #[514 "\301\300\302 Q \"\207" ["http" browse-url ":"]
6 "\n\n(fn URL ARG)"])
  ("ftp" :follow #[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6
"\n\n(fn URL ARG)"])
  ("help" :follow org-link--open-help) ("file" :complete
org-link-complete-file)
  ("elisp" :follow org-link--open-elisp) ("doi" :follow
org-link--open-doi))
 org-latex-format-headline-function
'org-latex-format-headline-default-function
 org-capture-templates '(("z" "Toefl school entry" entry
 (file+olp "~/Dropbox/org/nowtutoradmin.org" "Tasks (billable)"
  "Contact schoools, consultants re B2B service" "Toefl Schools in NYC")
 "*** %^{School}\n:PROPERTIES\n:web_site: %^{web site}\n:Email_address:
%^{email address}\n:Gmail_link: [[gmail:%\\3]]\n:FirstName: %^{first
name}\n:LastName: %^{last name}\n:Position: %^{position}\n:datecreated:
%u\n:END\n" :jump-to-captured 1)
("n" "Candidate entry" entry (file+olp "~/Dropbox/org/nowtutoradmin.org"
"datastores" "candidates")
 "** %^{Candidate} %^g\n:PROPERTIES:\n:Status: \n:Email_address:
[[gmail:%^{email address}]]\n:Datecreated: %u\n:Skype:
\n:Ranking:\n:Video_url:\n:University_grad:\n:Certified:\n:Years_of_experience:\n:Open_to_onsite:\n:Resume_location:\n:Resume_link:\n:Citizenship:\n:Country:\n:END:\n***
%\\1:waitreply:sentrequest:\n DEADLINE: %(org-insert-time-stamp
(org-read-date nil t \"+2\"))\n" :jump-to-captured 1)
("s" "Submission entry" entry (file+olp "~/Dropbox/org/nowtutoradmin.org"
"datastores" "submissions")
 "** TOSUBMIT %^{Client|Aston|Chengxun|Daqing EF|EF Xuzhou|Jing|Lin
Qiu|Micro-Language|Smilekid|Super Small Translation|Wowtalk}
%a\n:PROPERTIES:\n:Client: %\\1\n:Candidate: %a\n:Datecreated: %U\n:END:\n"
:jump-to-captured 1)
("p" "Protocol" entry (file+headline (\, "~/Dropbox/org/inbox.org") "Web
captures")
 "* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
("j" "Journal entry" plain (file+olp+datetree "~/Dropbox/org/journal.org")
"%i\n%?\n" :time-prompt 1
 :jump-to-captured 1)
("w" "work log entry" plain (file+olp+datetree "~/Dropbox/org/
nowtutoradmin.org" "work log") "\n\n%?"
 :clock-in 1 :empty-lines 1 :jump-to-captured 1)
("L" "Protocol Link" entry (file+headline (\, "~/Dropbox/org/inbox.org")
"Web captures")
 "* %? [[%:link][%(transform-square-brackets-to-round-ones
\"%:description\")]]\n")
)
 org-link-elisp-confirm-function 'yes-or-no-p
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-html-format-headline-function
'org-html-format-headline-default-function
 org-directory "~/Dropbox/org"
 org-link-from-user-regexp "\\"
 org-default-notes-file "~/Dropbox/org/notes.org"
 )

-- 
=
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: difficulty extracting email address from property field containing gmail link

2020-11-30 Thread Ian Garmaise
Thanks Kyle, got it to work this way:

#+BEGIN: propview :cols ((car (s-split " " ITEM))  (s-chop-prefix "gmail:"
(my/extract-email-from-link EMAIL_ADDRESS)))  :id "candidates" :match
"testthis" :wrap example
| (car (s-split " " ITEM)) | (s-chop-prefix "gmail:"
(my/extract-email-from-link EMAIL_ADDRESS)) |
|--+-|
| "Ciara"  | "ciarax...@gmail.com"
 |
| "Duncan" | "duncanx...@indeedemail.com"
   |

Thanks a million!

Ian


On Sun, Nov 29, 2020 at 10:39 PM Kyle Meyer  wrote:

> Ian Garmaise writes:
>
> > This is working well, except for the property used for the email address.
> > Unfortunately, I stored this as a gmail link.  This makes it difficult to
> > extract the actual email address using org-collector as follows:
> >
> > #+BEGIN: propview :cols ((car (s-split " " ITEM))  EMAIL_ADDRESS)  :id
> > "candidates" :match "testthis" :wrap example
> >
> > the result produced looks like this:
> >
> > | (car (s-split " " ITEM)) | EMAIL_ADDRESS
>  |
> >
> |--+-|
> > | "Ciara"  | [[
> https://mail.google.com/mail/?view=cm=1=ciaraxyz@gmail\.com]]
>|
> > | "Duncan" | [[
> https://mail.google.com/mail/?view=cm=1=duncanxyz@indeedemail\.com]]
> |
> >
> > I have looked at several methods that I found on the web to extract the
> > email address from the link in the property, but haven't yet found a
> > solution that I could get to work.  Still building up my elisp skillset,
> > would appreciate suggestions.
>
> I've never used org-collector, but quickly trying to wire up a function
> to extract the email part of the text you show, I suspect some of the
> trouble you're having is that the value comes in as a vector because
> org-propview-collect processes it with org-babel-read.  So perhaps
> something like this would get you on the right track:
>
>   (require 'subr-x)
>
>   (defun my/extract-email-from-link (value)
> (setq value (format "%S" value))
> (when-let ((link (and (string-match org-link-bracket-re value)
>   (org-link-unescape
>(match-string-no-properties 1 value)
>   (thread-last
>   link
> (replace-regexp-in-string
>  (rx string-start (one-or-more not-newline) "to="
>  (group (one-or-more not-newline)) string-end)
>  "\\1")
> (replace-regexp-in-string (rx "\\.") "."
>
>
> --8<---cut here---start->8---
> #+BEGIN: propview :cols ((car (s-split " " ITEM))
> (my/extract-email-from-link EMAIL_ADDRESS)) :id global
> | (car (s-split " " ITEM)) | (my/extract-email-from-link EMAIL_ADDRESS) |
> |--+|
> | "Ciara"  | "ciara...@gmail.com"   |
> | "Duncan" | "duncan...@indeedemail.com"        |
> |--+|
> |  ||
> #+END:
>
> * Ciara
> :PROPERTIES:
> :EMAIL_ADDRESS: [[
> https://mail.google.com/mail/?view=cm=1=ciaraxyz@gmail\.com]]
> :END:
>
> * Duncan
> :PROPERTIES:
> :EMAIL_ADDRESS: [[
> https://mail.google.com/mail/?view=cm=1=duncanxyz@indeedemail\.com]]
> :END:
> --8<---cut here---end--->8---
>


-- 
=
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


difficulty extracting email address from property field containing gmail link

2020-11-29 Thread Ian Garmaise
I have created a kind of mini CRM using properties.
Now I need to extract data from the entries to create a CSV file for use
with an external email tool.

I have used org-collector.el to extract tagged entries to a table, on which
I then use orgtbl-to-csv to create the CSV file.

This is working well, except for the property used for the email address.
Unfortunately, I stored this as a gmail link.  This makes it difficult to
extract the actual email address using org-collector as follows:

#+BEGIN: propview :cols ((car (s-split " " ITEM))  EMAIL_ADDRESS)  :id
"candidates" :match "testthis" :wrap example

the result produced looks like this:

| (car (s-split " " ITEM)) | EMAIL_ADDRESS
  |
|--+-|
| "Ciara"  | [[
https://mail.google.com/mail/?view=cm=1=ciaraxyz@gmail\.com]]
|
| "Duncan" | [[
https://mail.google.com/mail/?view=cm=1=duncanxyz@indeedemail\.com]] |

I have looked at several methods that I found on the web to extract the
email address from the link in the property, but haven't yet found a
solution that I could get to work.  Still building up my elisp skillset,
would appreciate suggestions.



-- 
=
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


manual omission - effort command in agenda remote editing section

2020-11-08 Thread Ian Garmaise
The following command is missing from section 11.5, Commands in the Agenda
Buffer, Remote editing commands

C-c C-x e or short e (org-set-effort)

-- 
=
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: Emacs-orgmode Digest, Vol 172, Issue 21

2020-06-21 Thread Ian Garmaise
; #+begin_src clojure :backend clj-cli :args "-Sdeps '{:deps {inflections
> {:mvn/version \"0.13.2\"}}}'"
>   (use 'inflections.core)
>   (plural "word")
> #+end_src
>
> #+begin_src clojure :backend babashka :results output
>   (range 10)
> #+end_src
>
> Please let me know what you think. Any advice is appreciated, since I have
> never contributed before. Thank you.
>
> -- next part --
> A non-text attachment was scrubbed...
> Name: ob-clojure-improvements.patch
> Type: text/x-patch
> Size: 3538 bytes
> Desc: not available
> URL: <
> https://lists.gnu.org/archive/html/emacs-orgmode/attachments/20200619/79753daf/attachment.bin
> >
>
> --
>
> Message: 9
> Date: Sat, 20 Jun 2020 16:23:48 +0800
> From: stardiviner 
> To: Ag Ibragimov 
> Cc: emacs-orgmode@gnu.org
> Subject: Re: patch: ob-clojure improvements
> Message-ID: <874kr6402z@gmail.com>
> Content-Type: text/plain
>
>
> Glad to see your patch, really useful in some cases. Thanks.
>
> Ag Ibragimov  writes:
>
> > Hi everyone, here's my attempt to add clojure CLI and babashka support
> for ob-clojure.el
> >
> > - Adds a header parameter to override org-babel-clojure-backend
> > - Adds :args param (right now only used for clojure-cli)
> >
> > I have tested it with these minimal cases:
> >
> > #+begin_src clojure :backend clj-cli :args "-Sdeps '{:deps {inflections
> {:mvn/version \"0.13.2\"}}}'"
> >   (use 'inflections.core)
> >   (plural "word")
> > #+end_src
> >
> > #+begin_src clojure :backend babashka :results output
> >   (range 10)
> > #+end_src
> >
> > Please let me know what you think. Any advice is appreciated, since I
> have never contributed before. Thank you.
>
>
> --
> [ stardiviner ]
>I try to make every word tell the meaning that I want to express.
>
>Blog: https://stardiviner.github.io/
>IRC(freenode): stardiviner, Matrix: stardiviner
>GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
>
>
>
> --
>
> Message: 10
> Date: Sat, 20 Jun 2020 17:52:00 +0800
> From: Meng Weng Wong 
> To: emacs-orgmode@gnu.org
> Subject: org-mode as a logging target in three easy steps
> Message-ID:
>  vsjblj...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I've been enjoying a featherweight alternative to log levels, made possible
> by org-mode. I've done this a couple of times now and am feeling good
> enough about it to recommend it to others.
>
> The next time you write a little throwaway script:
>
> Step 1: Add asterisks to the front of your printf traces.
>
> Step 2: Tee your STDOUT / STDERR to a file named log.org
>
> Step 3: Open the log file in org-mode.
>
> Step 4: Enjoy!
>
> This illustration uses a Github scraper as an example:
> https://github.com/mengwong/git-scrape
> https://twitter.com/mengwong/status/1274236595109982208
>
> This is no substitute for real structured logging, of course :)
>
> You can tail the logfile with M-x auto-revert-mode.
>
> That is all!
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> https://lists.gnu.org/archive/html/emacs-orgmode/attachments/20200620/d5a083ca/attachment.html
> >
>
> --
>
> Message: 11
> Date: Sat, 20 Jun 2020 03:51:13 -0700
> From: Leo Alekseyev 
> To: Emacs orgmode 
> Subject: texinfo manual links not working?
> Message-ID:
>  rhhuukrb6jaojt06f4c_k...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> M-x org-store-link tells me "No method for storing a link from this
> buffer", and info: type is not in the list when I try to insert a link
> via C-c C-l. Has the support been deprecated or is there a problem
> with my system?
>
>
>
> --
>
> Message: 12
> Date: Sat, 20 Jun 2020 13:16:29 +0200
> From: Nicolas Goaziou 
> To: Leo Alekseyev 
> Cc: Emacs orgmode 
> Subject: Re: texinfo manual links not working?
> Message-ID: <87o8peyoky@nicolasgoaziou.fr>
> Content-Type: text/plain
>
> Hello,
>
> Leo Alekseyev  writes:
>
> > M-x org-store-link tells me "No method for storing a link from this
> > buffer", and info: type is not in the list when I try to insert a link
> > via C-c C-l. Has the support been deprecated or is there a problem
> > with my system?
>
> I think you need to (require 'ol-info)
>
> Regards,
>
> --
> Nicolas Goaziou
>
>
>
> End of Emacs-orgmode Digest, Vol 172, Issue 21
> **
>


-- 
=
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: Bug: Missing key definition for org-resolve-clocks [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/users/ian/.emacs.d/elpa/org-20200316/)]

2020-05-06 Thread Ian Garmaise
Hi Kyle,

Not sure what happened, but about a month after I reported it, the key
binding started to work.
I hadn't made significant changes to my setup during that period, but maybe
some library that I had installed caused the problem.

Thanks for checking,

Best,

Ian


On Tue, May 5, 2020 at 11:38 PM Kyle Meyer  wrote:

> [ Sorry for the delayed reply. ]
>
> Ian Garmaise writes:
>
> > According to the manual section 8.4.3, org-resolve-clocks should be
> > bound to C-c C-x C-z
> >
> > This doesn't seem to be the case.
>
> That's odd.  That binding has been around for a while (f250f6beb,
> 2012-07-28) and is in the version you reported to be running:
>
>   $ git grep org-resolve-clocks 685b2c -- lisp/org-keys.el
>   685b2c:lisp/org-keys.el:(declare-function org-resolve-clocks "org"
> ( only-dangling-p prompt-fn last-valid))
>   685b2c:lisp/org-keys.el:(org-defkey org-mode-map (kbd "C-c C-x C-z")
> #'org-resolve-clocks)
>
> Perhaps there's something in your configuration that's clobbering the
> default binding.
>


-- 
=
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


Bug: Missing key definition for org-resolve-clocks [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/users/ian/.emacs.d/elpa/org-20200316/)]

2020-03-28 Thread Ian Garmaise
tach-complete-link)
  ("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) ("id" :follow org-id-open)
("file+sys")
  ("file+emacs") ("shell" :follow org-link--open-shell)
  ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"])
  ("mailto" :follow
#[257 "\301\300\302 Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"])
  ("https" :follow
#[257 "\301\300\302 Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"])
  ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"])
  ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5
"\n\n(fn URL)"])
  ("help" :follow org-link--open-help) ("file" :complete
org-link-complete-file)
  ("elisp" :follow org-link--open-elisp) ("doi" :follow
org-link--open-doi))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 )

-- 
=
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: "peculiar" error with countdown timer in org-agenda

2020-03-03 Thread Ian Garmaise
Hi Marco,

I will check.  However I am on Windows 7-64 and to the best of my knowledge
Dbus is not available for this platform.  There were some efforts to make
it work but I don't think they are current.
In any case, as the error message said, this version of emacs isn't
compiled with Dbus, which makes sense for a Windows version.
I will try to create my own handler and figure out why dbus notification is
being attempted on a version of Emacs compiled without it.

Best,

Ian



On Tue, Mar 3, 2020 at 6:08 AM Marco Wahl  wrote:

> Hi Ian,
>
> Thanks for reporting.
>
> > In Org-Agenda, I press ';' to start a countdown timer.
> > I enter 1 minute to test.
> > When timer reaches zero, I see this error in minibuffer
> >
> > dbus-call-method: peculiar error: "Emacs not compiled with dbus support"
> >
> > Also, timer display is not removed from mode-line as expected.
>
> I checked this some and I think the problem lies in function
> org-show-notification.  That function references and possibly uses
> function notifications-notify which depends on a proper setup of the
> dbus stuff.  I guess this is the gist of the bug.
>
> You can place your own handler though.  For this set variable
>
> org-show-notification-handler
>
> to e.g. function
>
>message
>
> Can you please try this out?
>
> About hunting the bug: possibly it would be good to add a check if the
> dbus system is up.  Can this be done easily?  Or add a further
> configuration item to indicate that the dbus system shall be used.
>
>
> Best,
> -- Marco
>
>
>

-- 
=
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


"peculiar" error with countdown timer in org-agenda

2020-03-02 Thread Ian Garmaise
ok '(org-block-todo-from-checkboxes
org-block-todo-from-children-or-siblings-or-parent)
 org-link-parameters '(("attachment" :follow org-attach-open-link :export
org-attach-export-link :complete org-attach-complete-link)
  ("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) ("id" :follow org-id-open)
("file+sys") ("file+emacs")
  ("shell" :follow org-link--open-shell)
  ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"])
  ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url
":"] 5 "\n\n(fn URL)"])
  ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"]
5 "\n\n(fn URL)"])
  ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"])
  ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5
"\n\n(fn URL)"])
  ("help" :follow org-link--open-help) ("file" :complete
org-link-complete-file)
  ("elisp" :follow org-link--open-elisp) ("doi" :follow
org-link--open-doi))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 )

-- 
=
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


bug: ';' gets error starting countdown timer in agenda

2020-03-01 Thread Ian Garmaise
k-todo-from-children-or-siblings-or-parent)
 org-link-parameters '(("attachment" :follow org-attach-open-link :export
org-attach-export-link :complete org-attach-complete-link)
  ("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) ("id" :follow org-id-open)
("file+sys") ("file+emacs")
  ("shell" :follow org-link--open-shell)
  ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"])
      ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url
":"] 5 "\n\n(fn URL)"])
  ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"]
5 "\n\n(fn URL)"])
  ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"])
  ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5
"\n\n(fn URL)"])
  ("help" :follow org-link--open-help) ("file" :complete
org-link-complete-file)
  ("elisp" :follow org-link--open-elisp) ("doi" :follow
org-link--open-doi))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 )

-- 
=
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: [O] manual errata

2019-05-28 Thread Ian Garmaise
Hi Nicholas,

I have found the manual version in the repo.  You are correct.  Will check
repo version next time.

Best,

Ian


On Tue, May 28, 2019 at 8:31 AM Ian Garmaise  wrote:

> Hi Nicholas, it is shown on this page.  Is there a more up to date version
> of the manual I should reference?
>
>
>
> https://orgmode.org/manual/Inserting-deadline_002fschedule.html#Inserting-deadline_002fschedule
>
>
> Best,
>
> Ian
>
>
> On Tue, May 28, 2019 at 5:00 AM Nicolas Goaziou 
> wrote:
>
>> Hello,
>>
>> Ian Garmaise  writes:
>>
>> > org 9.2 pdf manual
>> >
>> > In Chapter 8, p. 78
>> >
>> > function org-mark-entry-for-agenda action
>> > C-c C-x C-k
>> >
>> > This function doesn't exist in my version of org-mode (9.2.3)
>>
>> I cannot find any reference to this function in current manual.
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>>
>
>
> --
> =
> 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
>


-- 
=
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: [O] manual errata

2019-05-28 Thread Ian Garmaise
Hi Nicholas, it is shown on this page.  Is there a more up to date version
of the manual I should reference?


https://orgmode.org/manual/Inserting-deadline_002fschedule.html#Inserting-deadline_002fschedule


Best,

Ian


On Tue, May 28, 2019 at 5:00 AM Nicolas Goaziou 
wrote:

> Hello,
>
> Ian Garmaise  writes:
>
> > org 9.2 pdf manual
> >
> > In Chapter 8, p. 78
> >
> > function org-mark-entry-for-agenda action
> > C-c C-x C-k
> >
> > This function doesn't exist in my version of org-mode (9.2.3)
>
> I cannot find any reference to this function in current manual.
>
> Regards,
>
> --
> Nicolas Goaziou
>


-- 
=
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


[O] manual errata

2019-05-26 Thread Ian Garmaise
org 9.2 pdf manual

In Chapter 8, p. 78

function org-mark-entry-for-agenda action
C-c C-x C-k

This function doesn't exist in my version of org-mode (9.2.3)

-- 
=
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


[O] error in org-mode 9.2 manual p. 239

2019-02-10 Thread Ian Garmaise
On this page we have this statement
-
15.11 Context Dependent Documentation
C-c C-x C-i in an Org file tries to open a suitable section of the Org info
documentation


I believe that this should be C-c C-x I
org-info-find-node

-- 
=
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


[O] error in org-mode 9.2 manual

2019-02-09 Thread Ian Garmaise
P. 122
M-* org-agenda-bulk-toggle-all may have wrong definition, it is a duplicate
of definition for org-agenda-mark-regexp


-- 
=
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


[O] getting development version on windows

2017-09-03 Thread Ian Garmaise
I recently reported a bug in sort headlines which was fixed
in the development version.  However I am using the elpa package in windows,
which only has the latest official release of Aug. 28.
My efforts to install the development version failed.

Is there a straightforward recipe to install the development version?
I have the git-bash toolkit installed (all typical unix tools included),
and gnu make etc., but I gather that elpa version uses emacs equivalents of
make and install.

Is there a way that I can apply the fix to the release package and then
rebuild org using the same method elpa uses?


-- 
=
Ian Garmaise
Consultant
Phorix Solutions Group
ia...@phorixsol.com
Toronto cell: 416.432.2251
NYC: 917.512.9535

My linkedin profile <https://www.linkedin.com/in/igarmaise/>

http://www.PhorixSol.com


[O] Bug: error sorting outline items [9.0.10 (9.0.10-elpa @ c:/users/ian/.emacs.d/elpa/org-20170827/)]

2017-08-29 Thread Ian Garmaise
 ("http" :follow (lambda (path) (browse-url (concat "http:" path
 ("https" :follow (lambda (path) (browse-url (concat "https:" path
 ("mailto" :follow (lambda (path) (browse-url (concat "mailto:; path
 ("message" :follow (lambda (path) (browse-url (concat "message:" path
 ("news" :follow (lambda (path) (browse-url (concat "news:; path
 ("shell" :follow org--open-shell-link))
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-log-done 'time
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-tag-alist '(("@work" . 119) ("@home" . 104) ("laptop" . 108))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-mode-hook '((closure
(org-inlinetask-min-level buffer-face-mode-face org-struct-menu
org-last-state
org-id-track-globally org-clock-start-time texmathp-why remember-data-file
org-agenda-tags-todo-honor-ignore-options iswitchb-temp-buflist
calc-embedded-open-mode calc-embedded-open-formula
calc-embedded-close-formula
align-mode-rules-list org-export-registered-backends t)
nil
(add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote
append)
(quote local))
)
 (closure (*this* org-babel-confirm-evaluate-answer-no t) nil
(add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all)
(quote append) (quote local))
)
 #[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-block-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-metadown-hook '(org-babel-pop-to-session-maybe)
 org-todo-keywords '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE"))
 org-agenda-files '("~/Dropbox/org/orgtutorial.org" "~/Dropbox/org/test.org
")
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
 ("\\.pdf\\'" . default) ("\\.xlsx\\'" . default))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-confirm-shell-link-function 'yes-or-no-p
 )


-- 
=
Ian Garmaise
Consultant
Phorix Solutions Group
ia...@phorixsol.com
Toronto cell: 416.432.2251
NYC: 917.512.9535

My linkedin profile <https://www.linkedin.com/in/igarmaise/>

http://www.PhorixSol.com