all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Samuel Wales <samologist@gmail.com>
Cc: Texas Cyberthal <texas.cyberthal@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: customizing Org for legibility
Date: Sat, 1 Feb 2020 21:36:19 +0100	[thread overview]
Message-ID: <CAGY83EfHO7j=zOC_d9rZ8_DqP2TEefLjmV-J6M6om+eXn7EObA@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8vTwGM6unNRf74UuomJFeoa8jWXT1ifSTZMUOGUETTZOA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3201 bytes --]

Hi Samuel,


> i get the sense spacemacs has brought a lot of new users to emacs.  i
> don't use it but i have comments on your interesting and welcome
> beauty tips.
>

This is definitely the case. I also don't use Spacemacs, but know a few
people who got started thanks to it. I even have a friend who was a
devoted vim user, and now swears by Spacemacs, particularly thanks to
org-mode and magit :)

this is really impressive.  does it have a fill column?
>

Yes, there is (I don't use it):
https://github.com/joostkremers/visual-fill-column

i would be over the moon if you could make headers in the agenda
> variable pitch.  not only would it look better and be consistent with
> the outline, but it would conserve space.
>

I think you can configure most faces as you wish. For this, I have found
the key "C-u C-x =" (which run what-cursor-position with the DETAILED
argument enabled) very useful - among other things, it shows the face which
is applied at the point under the cursor. Based on that, you can know which
face you need to customize. For example, when running it on an agenda
header line, I see the following:

There are text properties here:
  day                  737456
  face                 org-agenda-date-today

By customizing this face to inherit from "variable-pitch", I was able to
make those lines display in variable pitch font.

also, i would remove the second column, which seems not to do anything.
>
> also, i removed colons from some columns in the agenda and think it
> looks better.  also i aligned all items.  also, i made bare active
> tses use a leader.  also i made everything more compact except
> categories which i widened.  also, i removed [xd.] in leaders.
>

I would be interested to learn how to make these customizations. I have
only recently been getting into agenda mode, so I have not customized much
yet,

curious what the brackets mean in
>    ("PROPOSAL"     . "orange")
>    ("[PROPOSAL]"   . "orange")
>

Nothing special - only that I sometimes use TAG in my headers, and others I
use [TAG], depending on how I think it looks better at the time :) This way
it gets colorized correctly no matter what.

what does reformatting a buffer change?
>

I guess you are referring to the zz/org-reformat-buffer in my config? I got
this from the mailing list, although I can't remember who posted it (sorry
to the author! there goes my intention to always attribute things). It
basically redoes all the spacing and indentation in the buffer. I run it
every once in a while to uniformize things.

could tags be fixed to stay at a column by counting pixels?
>

I have not found a way to make that happen. The misalignment was bothering
me, so in the end this is what I do:

- In =variable-pitch= mode, the default right-alignment for headline tags
doesn't work, and results in the tags being misaligned (as it uses
character positions to do the alignment). This setting positions the tags
right after the last character of the headline, so at least they are more
consistent.

  #+begin_src emacs-lisp :tangle no :noweb-ref org-mode-custom-vars
    (org-tags-column 0)
  #+end_src


> thank you for the tips.
>

Glad you found them useful!

Cheers,
--Diego

[-- Attachment #2: Type: text/html, Size: 5156 bytes --]

  parent reply	other threads:[~2020-02-01 20:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31  9:34 customizing Org for legibility Texas Cyberthal
2020-01-31 11:34 ` Fraga, Eric
2020-01-31 13:19 ` Diego Zamboni
2020-01-31 17:47   ` Texas Cyberthal
2020-02-01 16:17     ` Jack Kamm
2020-02-01 20:11       ` Bob Newell
2020-02-01 20:38         ` Diego Zamboni
2020-02-02  2:02       ` Tim Cross
2020-01-31 20:13 ` Samuel Wales
2020-02-01  1:23   ` Texas Cyberthal
2020-02-01  1:34     ` Samuel Wales
2020-02-01  2:47       ` Texas Cyberthal
2020-02-01 20:46         ` Diego Zamboni
2020-02-01 20:36   ` Diego Zamboni [this message]
2020-02-01  9:36 ` Bastien

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

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

  git send-email \
    --in-reply-to='CAGY83EfHO7j=zOC_d9rZ8_DqP2TEefLjmV-J6M6om+eXn7EObA@mail.gmail.com' \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    --cc=texas.cyberthal@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.