emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: "orgmode list" <emacs-orgmode@gnu.org>
Subject: Org agenda width is one char-column too short
Date: Thu, 23 Sep 2021 06:40:40 -0600	[thread overview]
Message-ID: <871r5fwjlj.fsf@byu.edu> (raw)

As seen in the linked image, my agenda width is a single char too short so it clips the last : of the tags. I always use truncate-lines-mode, so this is a minor inconvenience but might be something easily fixed for new users? I think it has always done this for me.

https://i.imgur.com/RFRhLMT.png

Here are my configurations for agenda in Straight; if I'm not mistaken, there is nothing here that should effect things. Everything else is still at the default. I only got to thinking about this because agenda does such an admirable job of fitting to screens (something not easy in many emacs situations).

--8<---------------cut here---------------start------------->8---
   (use-package org-agenda
     :straight (:type built-in)
     :after org
     :custom
     (org-agenda-restriction-lock-highlight-subtree nil)
     (org-agenda-show-outline-path nil)
     (org-agenda-fontify-priorities nil)
     (org-agenda-restriction-lock-highlight-subtree nil)
     :custom-face
     (org-agenda-clocking ((t (:background "gold" :foreground "black"))))
     (org-agenda-dimmed-todo-face ((t (:foreground "dimgray"))))
     (org-agenda-calendar-event ((t (:inherit default))))
     (org-agenda-clocking ((t (:background "gold" :foreground "black"))))
     (org-agenda-current-time ((t (:background "blue2" :foreground "white smoke" :weight ultra-bold))))
     (org-agenda-dimmed-todo-face ((t (:foreground "dimgray"))))
     (org-agenda-done ((t (:inherit org-done :box (:line-width 2 :color "#00ff00" :style released-button)))))
     :bind (:map org-agenda-mode-map
		 ("p" . org-agenda-show-clocking-issues)
		 ("P" . tsa/org-appts))
     :config
     (add-hook 'org-agenda-mode-hook (lambda () (toggle-truncate-lines 1)))
     )
--8<---------------cut here---------------end--------------->8---


             reply	other threads:[~2021-09-23 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 12:40 Tory S. Anderson [this message]
2021-10-03  8:28 ` Org agenda width is one char-column too short Ihor Radchenko

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=871r5fwjlj.fsf@byu.edu \
    --to=torys.anderson@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).