Re: [O] org-file-apps settings?

2016-09-17 Thread Adam Porter
Matt Price writes: > Huh. I am not really able to figure this out. I imagine that part of > the problem may be that org tries to use mailcap as a method, and I > don't have any mailcap files. So I attempted this, which does not > work: > > '((system . "/usr/bin/xdg-open %s")

Re: [O] Count words under subtrees

2016-09-28 Thread Adam Porter
I think this should do it: #+BEGIN_SRC elisp (defun count-words-in-subtree () "Count words in current node and child nodes, excluding heading text." (interactive) (save-excursion (save-restriction (widen) (message "%s words" (-sum

Re: [O] SyncOrg mention in Org manual ?

2016-09-28 Thread Adam Porter
Probably the first place to put it would be on Worg. :)

Re: [O] Count words under subtrees

2016-09-28 Thread Adam Porter
Forgive the triple-posting; one of these days I'll learn to wait a bit longer before sharing. Anyway, this updated function will avoid counting the words in drawers and keyword-time lines (e.g. "SCHEDULED:"). Let me know if you find anything else it needs to handle. Skipping source blocks is an

Re: [O] Cask-initialize messes up org table manipulation commands

2016-09-28 Thread Adam Porter
Heikki Lehvaslaiho writes: > The cell content disappears but to my surprise the cursor jumped out > of the table! Trying with different tables, it came clear that the > cursor always jumped one line down and left of the table). (Under the > left border if you have a

Re: [O] Add org-bookmark-heading to Org proper?

2016-09-24 Thread Adam Porter
Nicolas Goaziou writes: Hi Nicolas, > I think controlling how the bookmark locations are displayed is > a different feature, which may fit better in Bookmark than in Org. I think I see what you mean, but at the same time, it seems like an Org-specific feature since it

Re: [O] Cask-initialize messes up org table manipulation commands

2016-10-01 Thread Adam Porter
Heikki Lehvaslaiho writes: > Maybe I should try raising an issue for cask > (https://github.com/cask/cask). I guess that's your best bet now. Hopefully the author will be able to figure it out. Please let us know what you find out. :)

Re: [O] Count words under subtrees

2016-09-28 Thread Adam Porter
You might find this useful as well: #+BEGIN_SRC elisp (defun count-words-in-subtree-or-region () (interactive) (call-interactively (if (region-active-p) 'count-words-region 'count-words-in-subtree))) #+END_SRC I bound that to M-= in

Re: [O] Bug: Feature request: more automatic updating of cookies [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-09-28 Thread Adam Porter
Jorge writes: > I request the feature of Org automatically updating cookies when using > structure editing commands such as C-c C-x C-w, C-c C-x C-y, , > and friends. This could be governed by a user option. > > The point is that C-u C-c # (to update cookies in the entire

Re: [O] Kanban board as an agenda view

2016-10-03 Thread Adam Porter
e...@fea.st writes: > I started thinking if this kind of visualization could be done > automatically by implementing a view like the agenda, that would use > `org-todo-keywords' as column headings and layout TODO items from > `org-agenda-files' into a columnar view. > > Is there any prior work on

Re: [O] Gmane search and link

2016-10-03 Thread Adam Porter
They're working on it. You can watch the Gmane blog for updates: http://home.gmane.org/

Re: [O] Enhance changelog with org formatting?

2017-03-22 Thread Adam Porter
Sorry, but what changelog tool do you mean?

Re: [O] How do you store web pages for reference?

2017-03-22 Thread Adam Porter
Thanks for sharing that, Bob. You mentioned on that page that you couldn't get it working with a capture template; here's what I use, which does use a capture template. Maybe this will be helpful: #+BEGIN_SRC elisp (defun ap/org-capture-w3m () "Call org-capture with the `W' template. Use

Re: [O] Inline notes and alignment

2017-03-23 Thread Adam Porter
Eric S Fraga writes: > However, I have since rediscovered *follow-mode* which allows for a > single buffer to flow across two side-by-side windows. Excellent for > long documents/codes! Thanks for sharing that! > Just thought I'd point this feature out as there is always

Re: [O] ANN/RFC: ox-epub

2017-04-16 Thread Adam Porter
Hi Mark, I can't say I have much need for ePub exporting right now myself, but congratulations on putting this together, looks like great work!

Re: [O] ANN: org-sticky-header

2017-04-19 Thread Adam Porter
Thanks, Eric and Carsten. I'll look into this soon.

Re: [O] ANN: org-sticky-header

2017-04-19 Thread Adam Porter
Carsten Dominik writes: > here is a new patch with does do this correctly. Thanks, Carsten, I will work on this soon.

[O] org-protocol-check-filename-for-protocol obscures other errors

2017-04-15 Thread Adam Porter
Hi, I've found that catching errors at this spot in org-protocol-check-filename-for-protocol (currently line 618 in the file): file:~/src/org-mode/lisp/org-protocol.el::(error Is causing a couple of problems. 1. Any error in the sub-protocol handler causes the handler to be called a second

[O] ANN/RFC: org-recent-headings

2017-04-15 Thread Adam Porter
Hi friends, I finally put together a package I've been thinking about for a long time: org-recent-headings. It keeps a list of recently accessed Org headings and lets you quickly jump to them using completing-read, Helm, or Ivy. It should be added to MELPA soon, but in the meantime I would

Re: [O] ANN: org-sticky-header

2017-04-19 Thread Adam Porter
This should now be fixed. Thanks!

Re: [O] ANN: org-sticky-header

2017-04-19 Thread Adam Porter
Inline tasks are now skipped. Thanks!

[O] Infinite loop with org-inlinetask and org-sticky-header [was Re: ANN: org-sticky-header]

2017-04-23 Thread Adam Porter
Hi Charles, Thanks for reporting this. This is bizarre. I reproduced it with my personal config, and with "emacs -q", but it only happens if org-inlinetask is loaded with "(require 'org-inlinetask)". This is with Emacs 25.1 and the Org package distributed with it for "emacs -q", and with Emacs

Re: [O] org-protocol-check-filename-for-protocol obscures other errors

2017-04-17 Thread Adam Porter
Nicolas Goaziou writes: > I tried to improve the situation in maint branch. Please let me know if > it makes your life easier ! Looks great, thanks!

[O] ANN: org-sticky-header

2017-04-17 Thread Adam Porter
Hi friends, I've posted another package which you might find useful: https://github.com/alphapapa/org-sticky-header It's modeled on semantic-stickyfunc-mode. When you scroll down and push an Org heading out of view, it displays that heading in the Emacs header line at the top of the window so

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
Thanks for your feedback, everyone. I've just pushed some updates that add options for the prefix and reversing the path display. Please let me know if you have any other ideas or issues.

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
Eric Abrahamsen writes: > I love it! I've wanted something like this for long text files for ages > -- this scratches a very old itch. Thanks for doing this, and I'll > report back with issues, though it's work great so far. Thanks, Eric, I'm glad it's useful for you.

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
Carsten Dominik writes: Hi Carsten, > I am wondering if you would consider the possibility to show on only > the most recent heading, but, space permitting, the outline path - > maybe in reverse order as to keep the sticky heading itself in the > left-most column. That's a

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
John Kitchin writes: Hi John, > Maybe the three spaces should be stored in a defcustom. I like no spaces > personally. Yep, I will put it in an option right away. Thanks.

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
Eric S Fraga writes: > It is indeed but it would still be nice to have it in reverse order, as > you suggested in an earlier post. My top level headline overwhelms the > header... Will fix that right away, thanks!

Re: [O] ANN: org-sticky-header

2017-04-18 Thread Adam Porter
Eric S Fraga writes: > One minor point: for some reason, the contents of the header line are > shifted to the right by one character so there's a little dissonance. > I use org-indent-mode in case that matters. Hi Eric, Oops, for some reason this message wasn't threaded and

Re: [O] [OT] Requiring packages which may be missing?

2017-04-24 Thread Adam Porter
Tim Cross writes: > You do need to be careful when sharing your .emacs.d between machines to > ensure you use something like gitignore to exclude things you may not > want to share across systems (such as auto-save files, various command > history files etc). Yes, that's

Re: [O] ANN: org-super-agenda

2017-07-29 Thread Adam Porter
Hi Eric, Thanks for your email. First off, the package is on MELPA now, and I've added several more features, so feel free to give it a shot. :) > I guess my challenge is understanding how to specify what I want in > your super agenda specifications. For instance, how do I get a list > of

Re: [O] FYI: with-org-today-date macro, helps with testing

2017-07-29 Thread Adam Porter
Thanks, maybe I was up too late to be messing with macros. :)

Re: [O] FYI: with-org-today-date macro, helps with testing

2017-07-29 Thread Adam Porter
Kyle Meyer <k...@kyleam.com> writes: > Adam Porter <a...@alphapapa.net> writes: > >> #+BEGIN_SRC elisp >> (defmacro with-org-today-date (date body) >> "Run BODY with the `org-today' function set to return simply DATE. >> DATE should

Re: [O] ANN: org-super-agenda

2017-08-01 Thread Adam Porter
FYI, I just pushed an update to org-super-agenda that lets you automatically sort agenda items into groups based on an "agenda-group" Org property, which can be set for entire subtrees with inheritance (which is enabled by default). This makes configuration very easy, as you only need one

Re: [O] Slow usage of capture templates

2017-08-02 Thread Adam Porter
This isn't much help, but the best suggestion I have is to try the non-Cygwin, native Windows build. I use the Cygwin build myself, but it is inherently slow compared to Linux builds for some reason. It takes probably 10-20 times as long to startup, and everything I do it in it is slow compared

Re: [O] Determine min/max values in a table

2017-08-03 Thread Adam Porter
Thierry Banel writes: > Alternatively you have the orgtbl-aggregate package available on Melpa. > > #+BEGIN: aggregate :table "myvalues" :cols "min(Values) max(Values) > mean(Values)" > > | min(Values) | max(Values) | mean(Values) | >

Re: [O] Finding calc/elisp methods

2017-08-03 Thread Adam Porter
Karl Voit writes: > Leslie helped here by mentioning vmin/vmax which is that obvious > that I do feel embarrassed now ;-) > > #+TBLFM: >

Re: [O] refile workflow -- move to same heading in different file?

2017-08-03 Thread Adam Porter
"Raymond Zeitler" writes: > C-c C-w cannot seem to recognize any of my agenda files, even though > org-refile-targets is set to (in custom-set-variables): > > (org-refile-targets (quote ((org-agenda-files :regexp . "Tasks" > > Suppose org-agenda-files contains "~/proj1.org"

Re: [O] Bug: Wrong type argument: integer-or-marker-p, nil on refile

2017-08-03 Thread Adam Porter
Michaël Cadilhac writes: > Here's the ECM. > > init.el: > (require 'org) > (setq org-refile-use-outline-path (quote file)) > > Now open an Org file, say foo.org, and type C-u C-c C-w foo.org/ RET > At org.el:11832, pos is nil. Confirmed here with Org 9.0.5. I think it's

Re: [O] org-babel python eval discrepancy

2017-08-03 Thread Adam Porter
Lookup "Org babel results" in Google and you should find the right section of the manual. You need to set the :results keyword.

Re: [O] Change in appearance of org-todo-keywords

2017-08-03 Thread Adam Porter
I don't mean this in a snide way, but do you keep your config in version control? e.g. if you have it stored in git, you can bisect it and find the change that caused the problem. Other than that, you can probably find the problem using the bug-hunter package. It can bisect your init file and

Re: [O] refile workflow -- move to same heading in different file?

2017-08-03 Thread Adam Porter
"Raymond Zeitler" writes: > 1. org-refile-targets ... value is ((org-agenda-files :regexp . "Tasks")) > Seems OK. But then I see that org-refile-target-verify-function is nil, > which seems like a problem. Mind you, this is the default configuration, > and I'm not sure what

Re: [O] Change in appearance of org-todo-keywords

2017-08-03 Thread Adam Porter
Colin Baxter writes: > Thanks for the suggestion, but I think I may be missing something. My > emacs init has not changed. My org keyword settings have worked for a > few years satisfactorily - until that is today. I think I need to bisect > org-mode to find the case? I've

Re: [O] run bash sessions without config files

2017-08-03 Thread Adam Porter
Tyler Smith writes: > On Wed, Aug 2, 2017, at 11:53 AM, Tyler Smith wrote: >> >> Is it possible to configure org-babel to ignore any customization files, >> such as .emacs.d/init_bash.el and .bashrc? >> > After some digging around, it looks like this isn't possible. >

Re: [O] helm-org-agenda-files-headings and bulk actions in agenda mode

2017-08-04 Thread Adam Porter
Julien Cubizolles writes: > helm-org-agenda-files-headings, used with helm-org-format-outline-path > is very convenient for choosing entries when refiling one individual > entry. I couldn't get it to refile *several* entries at once. Hi Julien, The helm-org-*-headings

Re: [O] remove TODO state in agenda view

2017-08-04 Thread Adam Porter
Julien Cubizolles writes: > Choosing "space" when changing the TODO state of an entry with C-c C-t > in an org buffer clears the TODO state. However it doesn't work in the > agenda view. Hi Julien, Just tried it, and it works for me. What version of Org are you using?

Re: [O] refile workflow -- move to same heading in different file?

2017-08-04 Thread Adam Porter
"Raymond Zeitler" writes: > I get the same [No Match] result that I was getting originally. Sounds like something is wrong with your installation or config. Did you try with "emacs -q"? > I'm really not happy about needing yet another package just to get > some basic

Re: [O] Fill column indicator and org indent mode

2017-08-15 Thread Adam Porter
Eduardo Mercovich writes: > I created org list items as in Slf, one semantic nucleus per line, and > rearranged them to develop the idea clearly seeing the order, the cuts > (colon, semicolon, etc.), the lengths. > > When it's done, I joined the items again. > > But, as is

[O] [PATCH] org-agenda: Add 'none setting for org-agenda-overriding-header

2017-08-15 Thread Adam Porter
guess it may also be useful for Org users who don't use that package. Thanks, Adam >From 8ae87be7ba98dec23b6875b72234272b78ea76a8 Mon Sep 17 00:00:00 2001 From: Adam Porter <a...@alphapapa.net> Date: Tue, 15 Aug 2017 23:01:32 -0500 Subject: [PATCH] org-agenda: Add 'none setting for org-ag

Re: [O] remove TODO state in agenda view

2017-08-11 Thread Adam Porter
Julien Cubizolles writes: > That's also what it does. It's only a minor annoyance I just noticed > because I'm in the process of cleaning long overdue tasks, but it would > be nice if B t could use the same dialog. Agreed! :)

Re: [O] Can't remove deadline or schedule in bulk mode

2017-08-11 Thread Adam Porter
Kyle Meyer writes: > Since you have the git repo set up and have a good/bad range, you can use > git bisect to find the offending commit. > > Based on changes that touched org-agenda-bulk-action recently, my guess > is 4f578a3f7 (org-agenda: Small refactoring, 2017-05-12).

Re: [O] Firefox extension "Org-capture" stopped working after update

2017-08-16 Thread Adam Porter
Marcin Borkowski writes: > the title text says it all. Anybody can confirm that? How to configure > capture in FF now? Hi Marcin, I'm not sure if you mean updating Firefox or Org. But if it's Firefox, well, Mozilla is killing off XUL extensions, and that probably includes

Re: [O] remove TODO state in agenda view

2017-08-10 Thread Adam Porter
Julien Cubizolles writes: > Got it: the problem occurs when trying to clear the TODO state of > several entries through a bulk action: > > * mark several entries > > * "B t" doesn't offer to clear the TODO state with space like "t" does > on a single entry. Yes, I guess

Re: [O] Can't remove deadline or schedule in bulk mode

2017-08-10 Thread Adam Porter
Julien Cubizolles writes: > In an agenda buffer, C-u B d should clear the deadline of the entries > marked the way C-u does on a single entry. I think it's what it used to > do some time ago. Instead, I get: > > org-agenda-deadline: Invalid function: 4 FWIW, works for me

[O] ANN: org-web-tools

2017-07-21 Thread Adam Porter
Hi friends, I've just uploaded a package containing some code that I've been using in my personal Emacs config for a while. It has commands and functions useful for retrieving web page content and processing it into Org-mode content. For example, you can copy a URL to the clipboard or

Re: [O] agenda configurable entry-text-mode

2017-07-25 Thread Adam Porter
Hi Alexander, That's a very nice idea. I think it wouldn't be too hard to implement something like that using org-quick-peek. Let me know what you think. I might give it a try myself.

Re: [O] multiple column views

2017-07-25 Thread Adam Porter
Gee, Nicolas, you make it look so easy... :)

Re: [O] Make org-cycle outline-mode compatible again

2017-07-25 Thread Adam Porter
Seems like a good idea, thanks for sharing that. :)

Re: [O] ANN: org-super-agenda

2017-07-23 Thread Adam Porter
Seems like the harder I try to be thorough, the more likely I am to mess something up. The instructions for trying it out were slightly incorrect, but they're outdated now, anyway. Please see the repo for current instructions. Thanks.

Re: [O] Update to org-protocol-capture-html

2017-07-23 Thread Adam Porter
Nikolay Kudryavtsev writes: > Sorry for kind of resurrecting this thread. Not at all. :) You might consider filing an issue on the GitHub tracker, though, because I almost didn't notice this (just haven't been watching the ml lately). > I've been trying to get

[O] ANN: org-super-agenda

2017-07-23 Thread Adam Porter
Hi friends, I put together another little tool I've been thinking about for a while. I'm calling it org-super-agenda at the moment, but org-divided-agenda might be more descriptive; feedback on the name is welcome. Before I forget and have to have Grant cover for me, you can find it here:

Re: [O] org-protocol documentation

2017-07-23 Thread Adam Porter
Mario Martelli writes: > I suppose so, if one knows how to configure URL handlers on their > OS. Of course there are some things missing from the > documentation. But it’s more than we have at the moment :) FYI, I have some instructions for setting up org-protocol at

Re: [O] Update to org-protocol-capture-html

2017-07-24 Thread Adam Porter
Nikolay Kudryavtsev writes: > I'm using 9.0 too. It's just that I'm also using Windows. Maybe it's > the only platform where this happens. Yeah, I haven't even tried org-protocol on Windows. When I'm in Windows I use the Cygwin version of Emacs, and there are

Re: [O] org-protocol documentation

2017-07-24 Thread Adam Porter
Colin Baxter writes: > I notice that your instructions give (require 'org-protocol). Does that > mean (setq org-modules (quote (org-protocol))) no longer works? No, that should work too, as long as that is run before Org is loaded. You may prefer to use the customize

Re: [O] Different listing styles for same babel language?

2017-07-24 Thread Adam Porter
I don't know how to accomplish this, but I'm guessing that, if you wrote some code to change the style of individual code blocks, lots of people would find that useful. :)

Re: [O] ANN: org-web-tools

2017-07-22 Thread Adam Porter
Eric S Fraga writes: > Sounds very useful. Thanks. Where have you uploaded this to? LOL, all that effort to be thorough in the description and I forgot the URL. Thanks to Grant for covering for me. :)

Re: [O] ANN: org-web-tools

2017-07-22 Thread Adam Porter
Eric S Fraga writes: > On Saturday, 22 Jul 2017 at 00:33, Grant Rettke wrote: >> https://github.com/alphapapa/org-web-tools > > Thanks. Installed it but realised I don't have pandoc on the system I'm > currently using. Back later when I get a chance to try this! Thanks, I

Re: [O] problem with bibtex-parse-buffers-stealthily

2017-04-24 Thread Adam Porter
Eric S Fraga writes: > On Monday, 10 Apr 2017 at 12:03, Alan Schmitt wrote: >> Hello, >> >> I'm having `bibtex-parse-buffers-stealthily' fail when there is an >> org-mode buffer with a bibtex source block. For instance, if you have >> the following block in an org file > > I

Re: [O] RFC: Extensible Dependencies 'N' Actions

2017-04-24 Thread Adam Porter
Hi Ian, Don't have time to dig into this at the moment, but it sounds very impressive and useful. I look forward to giving it a try soon. Keep up the good work!

Re: [O] [OT] Requiring packages which may be missing?

2017-04-24 Thread Adam Porter
I find that the best way is to store the entire ~/.emacs.d directory (including the /elpa subdirectory) in a git repository. This makes it easy to keep your entire config in sync between machines, and it means you keep your init file in sync with the versions of packages. Otherwise you may find

[O] org-clock-report/org-create-dblock breaks drawers with point on headine?

2017-04-25 Thread Adam Porter
I feel like I must be missing something obvious, but doesn't org-clock-report, which calls org-create-dblock, break drawers and planning lines when it's called with point on a heading? It inserts the clocktable above the existing drawers and planning line, making them invalid. Using Emacs 25.1

Re: [O] refile workflow -- move to same heading in different file?

2017-08-04 Thread Adam Porter
"Raymond Zeitler" writes: > Thanks for your help and patience. Sorry I cluttered the list with > an Emacs config problem! I'm glad to help if I can. I noticed you didn't mention the part about the structure of the org-refile-targets list. Did you try the example I gave?

Re: [O] refile workflow -- move to same heading in different file?

2017-08-04 Thread Adam Porter
Joost Kremers writes: > Why convert to HTML first? Pandoc can read Org files pretty well. Good point! I must have had a brain cramp, since I have made two packages that convert to Org with Pandoc... D:

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-04 Thread Adam Porter
Christoph Groth writes: > Carsten Dominik wrote in 2010: > >> I am afraid I don't see any major speed improvements that could make >> this happen. Yes, one could parse all the files once, build a table >> in memory and get the entries for each day from there - >> but

Re: [O] remove TODO state in agenda view

2017-08-04 Thread Adam Porter
Julien Cubizolles writes: > It's working for me too now. Don't know what I was doing wrong, sorry. No problem, that happens to me all the time. At least you didn't do like I've done and file an actual bug report when restarting Emacs would have fixed it. ;)

Re: [O] Time stamped TODOs with current-time from everywhere.

2017-08-04 Thread Adam Porter
Michaël Cadilhac writes: > However, suppose I'm in Calfw; I jump to some date, hit SPACE and I'm > now in Org-Agenda mode, ready to hit k to capture (because Calfw-Org > does not offer this directly). Now I expect %U to still be the > current time stamp, and %^t to be

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-05 Thread Adam Porter
Thanks for your comments, John, that is very interesting. I'll have to check out your db code. I'll drop a penny in the bucket with this: http://github.com/alphapapa/org-agenda-ng I spent a few hours trying an alternative approach that uses org-element-parse-buffer to parse each file, then

Re: [O] Slow speed of week and month views

2017-08-06 Thread Adam Porter
Karl Voit writes: > With a fairly modified configuration (like mine on [0]) and a large > set of long Org-mode files I can't publish, it is hard to do > analysis here. So I can offer to report any performance annoyances > and anything you need to execute (report) on my

Re: [O] refile workflow -- move to same heading in different file?

2017-08-06 Thread Adam Porter
Raymond Zeitler writes: Hi Ray, > A final update... it works. Of course you knew that, but I was > convinced otherwise. Glad you got it working. :) > > One Internet search result for "Emacs No Match" linked to a subtopic > of Completion in the Emacs manual. So I read more

Re: [O] Slow speed of week and month views

2017-08-06 Thread Adam Porter
Karl Voit writes: >> It might be helpful if you posted a censored version of your large Org >> files somewhere. There's a function by Nicolas that replaces all the >> characters with "x", and there's also a function that replaces words >> with random words of the same

Re: [O] ANN: org-super-agenda

2017-07-29 Thread Adam Porter
Adam Porter <a...@alphapapa.net> writes: Hi friend, FYI, this package is now on MELPA, and has had significant changes since I announced it. Please let me know any feedback you may have. Thanks. https://github.com/alphapapa/org-super-agenda

Re: [O] ANN: org-super-agenda

2017-07-29 Thread Adam Porter
Adam Porter <a...@alphapapa.net> writes: >> How do I get un-prioritised TODO entries listed? > > I don't have a selector for unprioritized TODO entries...yet. I'll look > into that. :) Silly me, you can already do that, like this: #+BEGIN_SRC (let ((org-agenda-fi

Re: [O] ox-taskjuggler on MELPA useful despite org-plus-contrib

2017-08-08 Thread Adam Porter
Tim Cross writes: > While there are some minor issues with org-plus-contrib, I find them to > be minor and mostly due to limitations in package.el (for example, > dependency on org results in both org-plus-contrib and org packages > being installed). In fact, I find

Re: [O] calculate weekday of birthday

2017-07-31 Thread Adam Porter
Hi Salome, The decode-time function returns a list that includes the day-of-week as a number from 0-6. You'll have to give it an encoded time, which you can use encode-time for. A wild idea would be to use the shell "date" command, which is overkill for this, but I just happen to have this code

Re: [O] [RFC] Shrink columns dynamically

2017-07-31 Thread Adam Porter
Nicolas Goaziou writes: > Moreover, I added two new STARTUP keywords: "shrink" and "noshrink", > which allow to apply aforementioned `org-table-shrink' command on all > tables upon opening a document. Not that "align" no longer toggle column > width. Hi Nicolas, I'm

Re: [O] ANN: org-super-agenda

2017-07-28 Thread Adam Porter
Eric S Fraga writes: > Hi Adam, > > have now given this a try. Looks really nice. Some questions, if I > may. I would like to have the following sections: Hi Eric, Thanks, I appreciate your feedback. > 1. items that have deadlines, any deadline for now and in the future,

Re: [O] agenda configurable entry-text-mode

2017-07-28 Thread Adam Porter
Alexander Baier writes: > Hi Adam, > > I hadn't heard of org-quick-peek. I found > https://github.com/alphapapa/org-quick-peek but could not find the > package on MELPA, do you know why this is the case? Hi Alexander, Actually I haven't submitted it to MELPA yet.

Re: [O] Update to org-protocol-capture-html

2017-07-28 Thread Adam Porter
Nikolay Kudryavtsev writes: > My testing had shown that if in > org-protocol-check-filename-for-protocol we have (server-delete-client > _client) instead of (server-edit), the client process gets closed > fine. May I propose such a change? Hi Nikolay, I'm not

Re: [O] ANN: org-super-agenda

2017-07-29 Thread Adam Porter
Adam Porter <a...@alphapapa.net> writes: > After thinking about this some more, I have an idea: if I go ahead and > import the agenda-building functions into my package and modify them, I > can use a minor mode to override the standard functions with advice. > That way use

[O] FYI: with-org-today-date macro, helps with testing

2017-07-29 Thread Adam Porter
Hi friends, Just wanted to drop this here. I was testing some agenda-related code, and got tired of having to keep moving the dates forward on my test data as days passed in real life, so after digging into the agenda code, I came up with this macro that makes testing much easier: #+BEGIN_SRC

Re: [O] [PATCH] Add option to automatically align tags in agenda view

2017-08-08 Thread Adam Porter
Kyle Meyer <k...@kyleam.com> writes: >From ea3007a8b35d727f71860bd7697808f90d5e1e66 Mon Sep 17 00:00:00 2001 From: Adam Porter <a...@alphapapa.net> Date: Mon, 7 Aug 2017 08:50:26 -0500 Subject: [PATCH] org-agenda.el: Add option to automatically align tags in agenda * lisp/org-ag

Re: [O] [PATCH] Add option to automatically align tags in agenda view

2017-08-08 Thread Adam Porter
Kyle Meyer writes: >> (org-agenda-align-tags): Handle automatic alignment >> (org-agenda-tags-column): Add 'auto setting > > You're missing the file name in the entries above. Also, the entries > should end in a period. Oops, fixed. > Since you're changing the default value,

Re: [O] verbatim =[[link]]= and code ~[[link]]~ render as links

2017-08-08 Thread Adam Porter
Kaushal Modi writes: > Are you referring to: > > [[https://www.example.com][=verbatim link descr=]] > > ? Well, here's what I've noticed: + [[https://www.example.com][=verbatim link descr=]] - Renders in the Emacs buffer as a link, colored as a link rather than a

Re: [O] Change in appearance of org-todo-keywords

2017-08-09 Thread Adam Porter
Colin Baxter writes: > Considering how fundamental keywords and tags are to org-mode, I'm a > little surprised that only two other users have reported the issue. It's because of the bravery of users like you that I don't run master. ;)

Re: [O] agenda configurable entry-text-mode

2017-08-09 Thread Adam Porter
Alexander Baier writes: > This looks really nice! A few things I discovered: Thanks, I will fix these soon!

Re: [O] [PATCH] Add option to automatically align tags in agenda view

2017-08-07 Thread Adam Porter
Kyle Meyer <k...@kyleam.com> writes: > ... with just one case and a fallthrough, I'd prefer you test with eq > rather than using pcase. Hi Kyle, Ok, I've updated the patch. Thanks, Adam >From 99a61e09d5267ddaa84e8f93fbab161144aea011 Mon Sep 17 00:00:00 2001 Fr

Re: [O] verbatim =[[link]]= and code ~[[link]]~ render as links

2017-08-08 Thread Adam Porter
Wolfram Volpi writes: > org-mode renders links in verbatim and code as links: > > verbatim: =[[link]]= > > code: ~[[link]]~ > > They should be rendered as plain text. Hi Wolfram, Why do you think they should be rendered as plain text instead of as links? I use

Re: [O] emacs-orgmode "Archives Search String" search box is broken.

2017-08-08 Thread Adam Porter
Wolfram Volpi writes: > From http://lists.gnu.org/archive/html/emacs-orgmode/, the emacs-orgmode > "Archives Search String". > The search box gets results that have nothing to do with the search terms I > entered. > > hesiii said the same thing on >

Re: [O] source block breaks when code looks like heading

2017-08-08 Thread Adam Porter
bruce robertson writes: > How would the source for the math then work? If you edit the code-block with C-c ', the escape characters will be handled automatically.

<    1   2   3   4   5   >