[O] Is it possible to "escape" time entries in to-do headings for org-agenda?

2018-04-24 Thread Rohit Patnaik
e prefix, which results in the text appearing garbled. Thanks, Rohit Patnaik

Re: [O] Is it possible to "escape" time entries in to-do headings for org-agenda?

2018-04-24 Thread Rohit Patnaik
f_002dday-specifications.html#Time_002dof_002dday-specifications> > On Apr 24, 2018, at 2:11 PM, Nicolas Goaziou wrote: > > Hello, > > Rohit Patnaik writes: > >> Hello, >> >> According to the org-mode manual: >> >>> In the headline of the

[Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-19 Thread Rohit Patnaik
major issues that might arise from making this change. Thanks, Rohit Patnaik

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Rohit Patnaik
> This contribution will be welcome. I've attached a patch which implements the change. I followed the pattern that ox-html uses to the greatest extent possible. I tested it by exporting org-mode files to markdown with the table of contents both enabled and disabled. I didn't see any errors, and I

Fwd: Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-21 Thread Rohit Patnaik
> Since md backend is derived from html, is it necessary to define an > option specific to markdown or the value defined for HTML may be reused? > I am unsure which variant will be more convenient, so it is not more > than an idea that may be easily discarded. I considered reusing the value fro

Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export

2022-08-26 Thread Rohit Patnaik
Thanks so much for making those changes and getting it merged. -- Rohit

Re: How to utilize Org mode editing without display formatting

2022-08-28 Thread Rohit Patnaik
Could you do this with a mode-hook? Something like: (add-hook 'org-mode-hook (lambda () (when (memq (buffer-file-name) 'list-of-files-to-not-highlight) (font-lock-mode -1 -- Rohit

In an export transcoder, when should I use org-element-property to get values vs. the contents parameter

2022-09-02 Thread Rohit Patnaik
I'm looking at function that handles transcoding inline code and verbatim text in ox-md: (defun org-md-verbatim (verbatim _contents _info) "Transcode VERBATIM object into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel." (let ((value (org-element-property :v

Re: [BUG] Markdown export of description list with nested list [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/28.1/lisp/org/)]

2022-09-02 Thread Rohit Patnaik
As I understand it, the bug is in `org-md-item'. It formats the tag portion of the description with **%s**, and then simply concatenates the content. This is fine when the content is a simple string, but when the content includes line breaks (i.e. when content is itself a list), it doesn't realize

Why do org-agenda-switch-to and org-agenda-goto put the point in different spots in the target buffer?

2022-09-08 Thread Rohit Patnaik
I've gotten back into using org-agenda to manage my todos, and I noticed an odd discrepancy in behavior. When I hit RET in the agenda buffer to go to the TODO entry in the original org file, I see that the point is on the DEADLINE line. However, when I hit TAB, I find that the point is placed at

Re: Why do org-agenda-switch-to and org-agenda-goto put the point in different spots in the target buffer?

2022-09-09 Thread Rohit Patnaik
> org-agenda-switch-to jumps to the actual agenda match (usually a timestamp). > It may or may not be close to the headline (think of active timestamp inside > notes). Such behaviour, albeit undocumented, may be useful for some users. I'd > rather not change it. Okay, that makes sense. > Recenter

Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-14 Thread Rohit Patnaik
> (not a scheduled one, since I don't need to do it on a particular date) The `SCHEDULED' property is in fact the correct way to indicate that you wish to hide the task from the global to-do list until a particular date. `SCHEDULED' indicates the day upon which you wish to start working on the tas

Re: Org Syntax Specification

2022-09-25 Thread Rohit Patnaik
I also want to chip in with a thank-you for the org syntax specification page. As someone who's working on a custom org exporter, this is a very useful resource for finding out how elements are structured within org-mode. Thanks, Rohit

[BUG] Newlines after links are fontified with the org-link face after an incremental search

2024-02-01 Thread Rohit Patnaik
86_64-pc-linux-gnu, X toolkit, cairo version 1.17.8, Xaw3d scroll bars) of 2023-08-02 My operating system is Fedora Linux 39, running Gnome 45.3 on Wayland. Thanks, Rohit Patnaik

Re: [BUG] Newlines after links are fontified with the org-link face after an incremental search

2024-02-02 Thread Rohit Patnaik
> Fixed, on main; for Emacs >=29. Will not be fixed for earlier Emacs versions. I've confirmed that it's fixed. Thanks so much for the fast turnaround! Rohit Patnaik

Extraneous blank lines in when attempting to export org tables

2024-02-17 Thread Rohit Patnaik
e However, the actual output generated by the code is: #+begin_example ||Col 1 || Col 2 || Col 3|| ||left aligned cell || centered cell || right aligned cell|| #+end_example The contents of each cell are formatted correctly, but there's an additional newline between the two rows. How do I prevent this newline from being added? Thanks, Rohit Patnaik

Re: Extraneous blank lines in when attempting to export org tables

2024-02-18 Thread Rohit Patnaik
> This is because ox-md adds a blank line between almost every element, > including table-rows (which ox-md does not care about). > Fixed, on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=85aafac41 Thanks for fixing this. I completely forgot that my export code is a

Re: [BUG] Newlines after links are fontified with the org-link face after an incremental search

2024-02-25 Thread Rohit Patnaik
, the fontification behaving as it should. Thanks, Rohit Patnaik

Re: [BUG] Newlines after links are fontified with the org-link face after an incremental search

2024-02-26 Thread Rohit Patnaik
Confirmed fixed. Thanks for the quick turnaround! Rohit

Re: Best way to make the Org source tree?

2024-03-14 Thread Rohit Patnaik
n't realize that `make update` was an option. -- Rohit Patnaik

How does =org-md-item= produce the correct indentation for nested lists?

2024-04-12 Thread Rohit Patnaik
o that instead of indenting with spaces, it repeats the list marker (** for a second level nested list, *** for 3 levels of nesting, etc). Thanks, Rohit Patnaik

Re: How does =org-md-item= produce the correct indentation for nested lists?

2024-04-13 Thread Rohit Patnaik
Hello, Yes, that clarifies things quite a bit. I thought that the contents of the list item only included that specific item, when in reality it includes the item and all sub-lists. Thanks, Rohit

Automatically update plain list checkboxes when removing nested list items?

2024-08-29 Thread Rohit Patnaik
delete Sub-item 3 and update the Item 1 checkbox all at once. Right now, I have to move the cursor back up to Item 1 and hit C-c C-c to force the checkbox to update. Thanks, Rohit Patnaik

Re: Setting buffer-level properties in code

2024-10-12 Thread Rohit Patnaik
n element, marker or buffer position, and sets a property there, creating the property drawer if necessary. Thanks, Rohit Patnaik

[PATCH] Fix tiny typo in etc/ORG-NEWS

2024-12-28 Thread Rohit Patnaik
Hello, When I was looking at the diff for 8e141ec24e, I noticed that there was a second typo on line 181 of =etc/ORG-NEWS=. This patch fixes it. Thanks, Rohit PatnaikFrom 9eee3b09681e1e1f61d58932878e0f2df01e5f0f Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Sat, 28 Dec 2024 13:20:32 -0600

Re: org code highlight w/ single quote

2025-02-13 Thread Rohit Patnaik
Relatedly, would the refactored fontification also handle nested bold and italic text where the delimiters for those are adjacent to one another? Right now, for example: /this is italic *and some bold italic*/ is only fontified in Emacs as italic. The portion of the text that is meant to be

Re: Problem with finding css file with orgmode blogging setup

2025-03-22 Thread Rohit Patnaik
Org-publish, by default, only processes org files. If you want to include CSS files, images, and other non-org content, you need to process them as attachments. So, for example, this is what I have: (setq org-publish-project-alist '(("website-orgfiles" :base-directory "$HOME/website_src/"

[PATCH] Improved mode line clock truncation behavior

2025-03-18 Thread Rohit Patnaik
essary news and documentation updates. Thanks, Rohit PatnaikFrom f8c1f2919d8aa07e6f73ad5b097f8da2bb1ca3ee Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Tue, 18 Mar 2025 04:45:06 -0500 Subject: [PATCH] org-clock: Make headline truncation behave better * lisp/org-clock.el (org-clock-get-clock-st

How do I create a clock table that spans a custom time range?

2025-04-06 Thread Rohit Patnaik
Hello everyone, I know that I can use the `:block' option to change the time span considered by a clock table to specific days, or even a specific week, by specifying e.g. `2007-W50'. However, I would like to create a clock table that spans a two week period, e.g. from 2025-04-07 to 2025-04-21.

Re: How do I create a clock table that spans a custom time range?

2025-04-06 Thread Rohit Patnaik
Ah, sorry for the noise, I figured out what my problem was. I'd tried specifying :tstart and :tend, per the manual, but my initial attempt to do so resulted in the following error: org-clock-get-table-data: Wrong type argument: stringp, <2025-04-06 However, after rereading the manual more clo

Re: [PATCH] Improved mode line clock truncation behavior

2025-04-01 Thread Rohit Patnaik
I have updated the docstring for org-clock-get-clock-string, which I'd forgotten to do in the previous version of the patch. Thanks, RohitFrom ba1662b116e8c0601c7f174d379005ac767f7f52 Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Tue, 18 Mar 2025 04:45:06 -0500 Subject: [PATCH] org-

Re: [BUG] Got error opening existing org file in emacs 30.1 [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-02-28 Thread Rohit Patnaik
I tried opening the linked file with the latest org-mode from git, as of commit 53cd3f83c96728 and I was not able to reproduce the issue. I was able to open the file, move around in it, make edits, etc. without any problems. However, I am using Emacs 29.4, not 30.1. Could that have something to do

Re: [PATCH] Improved mode line clock truncation behavior

2025-03-30 Thread Rohit Patnaik
es surrounding the headline. I've updated the code to use a variable (`spaces-and-parens-length') for that instead. I have also added a preliminary news entry and I've updated the commit message to reflect the above changes. Thanks, RohitFrom 6be426ea88018e168a5ae7775f4bcc3756cde

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Rohit Patnaik
I'm against moving to `luatex' as the default compiler. I'm decently familiar with LaTeX, having used it to write papers and even my resume. I just tried to compile a relatively simple LaTeX file using `luatex' on my Fedora Linux machine with the `texlive-full' package installed. I got a bunch o

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-04 Thread Rohit Patnaik
Oops, my mistake. I was actually calling `luatex' instead of `lualatex'. The document compiles fine with `lualatex'. However, noted, it did take noticeably longer. Thanks, Rohit

Re: [PATCH] Improved mode line clock truncation behavior

2025-05-11 Thread Rohit Patnaik
the code looks much better now. RohitFrom 727ec7fb129e9c09617c204537eb1b2e5ed24ddb Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Tue, 18 Mar 2025 04:45:06 -0500 Subject: [PATCH] org-clock: Make headline truncation behave better * lisp/org-clock.el (org-clock-get-clock-string): Move the headline truncat

Re: [PATCH] Improved mode line clock truncation behavior

2025-05-16 Thread Rohit Patnaik
p anything in the merge process. Thanks, RohitFrom 17cd390ab54edc6713d09fff36ad0eddc9510b53 Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Tue, 18 Mar 2025 04:45:06 -0500 Subject: [PATCH] org-clock: Make headline truncation behave better * lisp/org-clock.el (org-clock-get-clock-string): Mov

Re: [PATCH] Improved mode line clock truncation behavior

2025-05-18 Thread Rohit Patnaik
> Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7eafc194d Thanks so much! This was a long-standing minor annoyance of mine, and it's great to have the fix upstream. Thanks, Rohit

Re: org-mode and captain mode?

2025-06-07 Thread Rohit Patnaik
Hello, I looked up Captain mode and it seems like the problem is that the default sentence start function =(car (bound-of-thing-at-point 'sentence))= finds the list marker as the start of the given sentence. It is possible to override that behavior. The mode defines a variable, =captain-sentence-