emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: oeg-agenda-entry-text-mode
Date: Tue, 24 Jan 2023 18:15:24 -0800	[thread overview]
Message-ID: <SJ0PR03MB54550C691AEC667F061AB45AA2CE9@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <SJ0PR03MB54553CF6BDE6F5BADB090FCDA2C99@SJ0PR03MB5455.namprd03.prod.outlook.com> (David Masterson's message of "Tue, 24 Jan 2023 13:28:51 -0800")

David Masterson <dsmasterson@gmail.com> writes:

> I've just discovered the E key in Agenda Commands and I'd like to use
> it.  The drawback is that it shows Log entries (I don't use a Drawer for
> Logs -- yet).  This means that the original description can be hidden if
> the logs use up more than org-agenda-entry-text-maxlines.
>
> Is there someway to toggle logs in org-agenda-entry-text-mode?  Also, if
> I create a drawer for logs, is there someway to move current logs to the
> drawer?

Ooh!  Found org-agenda-entry-text-exclude-regexp!  It's so close to what
I want.  With it, I can delete everything on a line that I don't want to
be displayed with org-agenda-entry-text-mode.  But I can't get rid of
the line, so I wind up with blank lines where the log would've been.

Any other options?  Or a secret to the regexp for getting rid of blank
lines?  Or embedding a newline in the regexp to exclude the line?

-- 
David Masterson


  reply	other threads:[~2023-01-25  2:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 21:28 oeg-agenda-entry-text-mode David Masterson
2023-01-25  2:15 ` David Masterson [this message]
2023-01-25 13:24   ` oeg-agenda-entry-text-mode Ihor Radchenko
2023-01-25 13:56     ` oeg-agenda-entry-text-mode tomas
2023-01-26  4:56       ` org-agenda-entry-text-mode David Masterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR03MB54550C691AEC667F061AB45AA2CE9@SJ0PR03MB5455.namprd03.prod.outlook.com \
    --to=dsmasterson@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).