From: Samuel Wales <samologist@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [OT] org and diff
Date: Sat, 12 Nov 2022 23:06:51 -0700 [thread overview]
Message-ID: <CAJcAo8vmX9ph0=djYMDdf=hQV_qjuHBO=wMwOKr8b9Z8OoUVYw@mail.gmail.com> (raw)
In-Reply-To: <87zgcv773a.fsf@localhost>
On 11/12/22, Ihor Radchenko <yantar92@posteo.net> wrote:
> I have the following in my ~/.gitconfig:
>
> [diff "org"]
> xfuncname = "^(\\*+ +.*)$"
>
> [core]
> attributesfile = /home/yantar92/.gitattributes
>
> And ~/.gitattributes:
>
> *.org diff=org
this looks interesting. i thought this stuff was just for configuring
the helper text on the hunk headers that tell you what function the
hunk is in, kind of thing. [which i thought there wasn't much you
could do with for org even in principle.]
however, i will try it to see if it actually changes the diff hunk contents.
>
> This will help grouping changes under the same heading.
i think this is what i want.
at least probably.
>
> Source: https://protesilaos.com/codelog/2021-01-26-git-diff-hunk-elisp-org/
idk why but this page is blank for me. then if i try to disable
noscript restrictions, noscript says "This is a privileged page, whose
permissions cannot be configured". so i guess the blog, or whatever
it is, is incompatible with my firefox-esr.
in addition, i encountered a broken org-capture extension problem with
your email post in gmail. first i selected text, and i didn't get the
"captured" notification from the org-capture extension. well, that's
probably firefox-esr's weird selection something or other. selection
color and my black bg are simiar so i couldn't tell. but nothing got
captured.
but then i selected it accurately and i /did/ get the captured
notification. but nothing was captured to emacs.
and that is precisely the problem that is being discussed on a couple
of other ml threads: getting notified that capture from firefox
worked, reliably. [the org-capture extension notifies you, but it
doesn't really know whether capture worked.]
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com
next prev parent reply other threads:[~2022-11-13 6:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 5:15 [OT] org and diff Samuel Wales
2022-11-13 5:32 ` Ihor Radchenko
2022-11-13 6:06 ` Samuel Wales [this message]
2022-11-15 16:58 ` Max Nikulin
2022-11-13 5:38 ` Samuel Wales
2022-11-13 9:32 ` Marcin Borkowski
2022-11-22 3:06 ` Samuel Wales
2022-11-22 3:17 ` Samuel Wales
2022-12-17 2:06 ` Samuel Wales
2022-12-17 8:36 ` Marcin Borkowski
2022-12-17 8:41 ` Ihor Radchenko
2022-12-28 2:30 ` Samuel Wales
2022-12-28 2:32 ` Samuel Wales
2022-12-28 6:35 ` Marcin Borkowski
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='CAJcAo8vmX9ph0=djYMDdf=hQV_qjuHBO=wMwOKr8b9Z8OoUVYw@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).