From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Error while exporting o TexInfo. Html export works fine. [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]
Date: Sun, 4 Apr 2021 09:56:13 +0530 [thread overview]
Message-ID: <TY2PR0101MB36937D0D27887FE63C74E239DA789@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <87r1jrp2py.fsf@nicolasgoaziou.fr>
On 04/04/21 1:20 am, Nicolas Goaziou wrote:
> Ramesh Nedunchezian <rameshnedunchezian@outlook.com> writes:
>
>> The advantage is you move to an error, fix it, then M-g M-n, fix it
>> and so on and so forth.
>
> But all reports are not errors. You may not want to fix them all either.
> OTOH, you lose the ability to hide or ignore unwanted reports, or sort
> them by trust level.
If you are using `compilation-minor-mode'--yes, the minor mode and not
the major mode--you can have goodness of /both/ tabulated list mode
and compilation mode.
Here is an attempt.
(require 'compile)
(add-to-list 'compilation-error-regexp-alist 'org-lint)
(add-to-list 'compilation-error-regexp-alist-alist
(list 'org-lint "^[[:blank:]]+\\([[:digit:]]+\\)[[:blank:]]+\\(high\\|low\\)[[:blank:]]+\\(.+\\)$"
(lambda nil
(buffer-file-name org-lint--source-buffer))
1 nil nil 1))
(add-hook 'org-lint--report-mode-hook
(defun turn-on-compilation-minor-mode ()
(compilation-minor-mode 1)))
If you mix `compilation-minor-mode' and `tabulated-list-mode', then
you may have to revise the key bindings so that they don't run in to
each other.
1. C-x C-f myfile.org. (See below)
2. M-x org-lint
3. Goto `Warnings' column and press 'S'. Satisfy yourself that
tabulated list commands are still available. Note that the line
numbers are in "arbitrary" order.
4. Go to a random line. Press RET. Press M-g M-n (or M-g M-p)
couple of times. Satisfy yourself that the order of traversal is
controlled by the cursor's position in the report buffer.
Seek a random position in org buffer. Say, bob or eob. Press M-g
M-n (or M-g M-p) couple of times. Satisfy yourself that the order
of traversal is controlled by the cursor's position in the report
buffer.
Contents of myfile.org: (Note that I have replicated the first tree
many more times to get a large number of errors)
* Getting the source
- Start with source that is cloned directly from Savannah[fn:1].
Using a clone of a clone does not work.
If you are a member of Emacs Project use,
#+begin_src
git clone <membername>@git.savannah.gnu.org:/srv/git/emacs/elpa.git
#+end_src
If you are not a member use,
#+begin_src shell
git clone https://git.savannah.gnu.org/git/emacs/elpa.git
#+end_src
- You must then do some setup:
#+begin_src
make setup
#+end_src
That leaves the =packages= directory empty; you must check out the
ones you want.
* Getting the source
- Start with source that is cloned directly from Savannah[fn:1].
Using a clone of a clone does not work.
If you are a member of Emacs Project use,
#+begin_src
git clone <membername>@git.savannah.gnu.org:/srv/git/emacs/elpa.git
#+end_src
If you are not a member use,
#+begin_src shell
git clone https://git.savannah.gnu.org/git/emacs/elpa.git
#+end_src
- You must then do some setup:
#+begin_src
make setup
#+end_src
That leaves the =packages= directory empty; you must check out the
ones you want.
* Getting the source
- Start with source that is cloned directly from Savannah[fn:1].
Using a clone of a clone does not work.
If you are a member of Emacs Project use,
#+begin_src
git clone <membername>@git.savannah.gnu.org:/srv/git/emacs/elpa.git
#+end_src
If you are not a member use,
#+begin_src shell
git clone https://git.savannah.gnu.org/git/emacs/elpa.git
#+end_src
- You must then do some setup:
#+begin_src
make setup
#+end_src
That leaves the =packages= directory empty; you must check out the
ones you want.
* Getting the source
- Start with source that is cloned directly from Savannah[fn:1].
Using a clone of a clone does not work.
If you are a member of Emacs Project use,
#+begin_src
git clone <membername>@git.savannah.gnu.org:/srv/git/emacs/elpa.git
#+end_src
If you are not a member use,
#+begin_src shell
git clone https://git.savannah.gnu.org/git/emacs/elpa.git
#+end_src
- You must then do some setup:
#+begin_src
make setup
#+end_src
That leaves the =packages= directory empty; you must check out the
ones you want.
* Getting the source
- Start with source that is cloned directly from Savannah[fn:1].
Using a clone of a clone does not work.
If you are a member of Emacs Project use,
#+begin_src
git clone <membername>@git.savannah.gnu.org:/srv/git/emacs/elpa.git
#+end_src
If you are not a member use,
#+begin_src shell
git clone https://git.savannah.gnu.org/git/emacs/elpa.git
#+end_src
- You must then do some setup:
#+begin_src
make setup
#+end_src
That leaves the =packages= directory empty; you must check out the
ones you want.
next prev parent reply other threads:[~2021-04-04 4:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 8:17 Bug: Error while exporting o TexInfo. Html export works fine. [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] Ramesh Nedunchezian
2021-04-01 15:16 ` Nicolas Goaziou
2021-04-02 4:09 ` Ramesh Nedunchezian
2021-04-02 14:50 ` Nicolas Goaziou
2021-04-02 4:33 ` Ramesh Nedunchezian
2021-04-02 14:59 ` Nicolas Goaziou
2021-04-03 4:44 ` Ramesh Nedunchezian
2021-04-03 9:26 ` Nicolas Goaziou
2021-04-03 11:41 ` Ramesh Nedunchezian
2021-04-03 14:40 ` Ramesh Nedunchezian
2021-04-03 14:50 ` Ramesh Nedunchezian
2021-04-03 19:50 ` Nicolas Goaziou
2021-04-04 4:26 ` Ramesh Nedunchezian [this message]
2021-04-07 17:59 ` Nicolas Goaziou
2021-04-08 14:00 ` Ramesh Nedunchezian
2021-04-19 9:30 ` Nicolas Goaziou
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=TY2PR0101MB36937D0D27887FE63C74E239DA789@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com \
--to=rameshnedunchezian@outlook.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).