GNU bug report logs -
#47088
org-w3m: handle w3m-image link information
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47088 in the body.
You can then email your comments to 47088 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47088
; Package
emacs
.
(Fri, 12 Mar 2021 06:27:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Boruch Baum <boruch_baum <at> gmx.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 12 Mar 2021 06:27:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Attached is a patch that adds to function `org-w3m-copy-for-org-mode'
support for w3m-image links. Note that because function
`org-make-link-string' is used for constructing the buffer substring to
be copied, w3m's special face to distinguish an image link is not
transfered.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[image.patch (text/x-diff, attachment)]
Information forwarded
to
emacs-orgmode <at> gnu.org
:
bug#47088
; Package
org-mode
.
(Wed, 05 May 2021 08:17:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 47088 <at> debbugs.gnu.org (full text, mbox):
Boruch Baum <boruch_baum <at> gmx.com> writes:
> Attached is a patch that adds to function `org-w3m-copy-for-org-mode'
> support for w3m-image links. Note that because function
> `org-make-link-string' is used for constructing the buffer substring to
> be copied, w3m's special face to distinguish an image link is not
> transfered.
Thanks, it looks good.
Can you try updating the patch against Org's upstream repository at
https://code.orgmode.org/bzg/org-mode/?
Note that the file is lisp/ol-w3m.el there.
--
Bastien
Information forwarded
to
emacs-orgmode <at> gnu.org
:
bug#47088
; Package
org-mode
.
(Thu, 06 May 2021 22:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 47088 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2021-05-05 10:16, Bastien wrote:
> Thanks, it looks good.
>
> Can you try updating the patch against Org's upstream repository at
> https://code.orgmode.org/bzg/org-mode/?
>
> Note that the file is lisp/ol-w3m.el there.
1] Attached.
2] Here's a commit message in the Changelog style:
2021-05-06 Boruch Baum <boruch_baum <at> gmx.com>
* ol-w3m.el (org-w3m-copy-for-org-mode)
(org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
Account for w3m-img links.
(org-w3m-get-anchor-start, org-w3m-get-prev-link-start)
(org-w3m-no-prev-link-p): Unused function notes.
(org-w3m-get-image-end): New function, for w3m-img links.
3] As mentioned in the patch, and in the commit message, there seem to
be several functioned unused in the code base that could be
candidates for removal...
org-w3m-get-anchor-start
org-w3m-no-prev-link-p
org-w3m-get-prev-link-start
4] Additionally, in performing the merge I came across function
org-string-nw-p, which seems to be an unnecessary duplicate of the
emacs core function string-blank-p. It may be that historically you
once needed your own home-made functions/macros, but now that emacs
core has them, you may want to consider a refactor.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[ol-w3m.patch (text/x-diff, attachment)]
Reply sent
to
Bastien <bzg <at> gnu.org>
:
You have taken responsibility.
(Sun, 09 May 2021 06:51:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Boruch Baum <boruch_baum <at> gmx.com>
:
bug acknowledged by developer.
(Sun, 09 May 2021 06:51:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 47088-done <at> debbugs.gnu.org (full text, mbox):
I'm closing this report as the patch has been applied upstream.
--
Bastien
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 06 Jun 2021 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.