emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "R. Michael Weylandt" <michael.weylandt@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Prepare release 8.2.6
Date: Sat, 5 Apr 2014 12:41:25 -0400	[thread overview]
Message-ID: <CAAmySGP58A_tVoGq_WM0mfGaLWDOCvBpw7yoxf=8i081BsPtgw@mail.gmail.com> (raw)
In-Reply-To: <CEC46E66-C277-4B57-9EC4-25E2A2DB1264@gmail.com>

On Fri, Apr 4, 2014 at 7:51 AM, Michael Weylandt
<michael.weylandt@gmail.com> wrote:
>
>
> On Apr 3, 2014, at 2:37, Bastien <bzg@gnu.org> wrote:
>
> Hi all,
>
> I'll try to fix a few remaining bugs in maint this afternoon
> then release 8.2.6 so that we can merge it into Emacs emacs-24
> branch, the pretest is scheduled to happen as soon as possible.
>
> If you have important bugs you want us to look at, now is the
> time to point at them.
>
>
> Hi Bastien,
>
> Two small usability issues you may want to take a look at:
>
> 1) Tell Emacs not to break inline source blocks when filling paragraphs:
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg01310.html

Small patch in support:

diff --git a/lisp/org-src.el b/lisp/org-src.el
index f870b2c..32de2a1 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,6 +40,7 @@
 (declare-function org-do-remove-indentation "org" (&optional n))
 (declare-function org-at-table.el-p "org" ())
 (declare-function org-in-src-block-p "org" (&optional inside))
+(declare-function org-in-inline-src-block-p "org" ())
 (declare-function org-in-block-p "org" (names))
 (declare-function org-get-indentation "org" (&optional line))
 (declare-function org-switch-to-buffer-other-window "org" (&rest args))
diff --git a/lisp/org.el b/lisp/org.el
index 318d95a..2778160 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -21536,6 +21536,9 @@ when point is at #+BEGIN_SRC or #+END_SRC."
                 (beginning-of-line)
                 (looking-at ".*#\\+\\(begin\\|end\\)_src")))))))

+(defun org-in-inline-src-block-p ()
+  "Test if within an inline src block."
+  (org-in-regexp org-babel-inline-src-block-regexp))
 (defun org-context ()
   "Return a list of contexts of the current cursor position.
 If several contexts apply, all are returned.
@@ -22246,7 +22249,8 @@ hierarchy of headlines by UP levels before
marking the subtree."
      (org-uniquify
       (append fill-nobreak-predicate
              '(org-fill-line-break-nobreak-p
-               org-fill-paragraph-with-timestamp-nobreak-p)))))
+               org-fill-paragraph-with-timestamp-nobreak-p
+               org-in-inline-src-block-p)))))
   (let ((paragraph-ending (substring org-element-paragraph-separate 1)))
     (org-set-local 'paragraph-start paragraph-ending)
     (org-set-local 'paragraph-separate paragraph-ending))


>
> 2) Allow =, +, and ; to be entered into org-insert-link. The list of
> character is org-link-escape-chars seems to be unnecessarily defensive and
> results in bad links being entered into documents (and then exported).
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00990.html
>
> Michael
>
>
> Thanks,
>
> --
> Bastien
>
>

  reply	other threads:[~2014-04-05 16:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03  6:37 Prepare release 8.2.6 Bastien
2014-04-04  9:05 ` Sebastien Vauban
2014-04-04 11:51 ` Michael Weylandt
2014-04-05 16:41   ` R. Michael Weylandt [this message]
2014-04-05 19:18     ` Nicolas Goaziou
2014-04-07  1:48       ` R. Michael Weylandt
2014-04-07 10:19         ` Nicolas Goaziou
2014-04-17 19:58           ` Bastien
2014-04-04 14:32 ` Michael Weylandt
2014-04-05 16:45   ` R. Michael Weylandt
2014-04-05 19:27     ` Nicolas Goaziou
2014-04-05 21:48       ` York Zhao
2014-04-06 17:51       ` R. Michael Weylandt
2014-04-06 18:03         ` Nicolas Goaziou
2014-04-11  2:43         ` Eric Schulte
2014-04-13 17:02           ` R. Michael Weylandt
2014-04-17  6:26             ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2014-04-03  7:53 Bastien
2014-04-03  9:17 ` Alan Schmitt
2014-04-03 10:13 ` KDr2
2014-04-03 11:47 ` Rainer M Krug
2014-04-18 12:04   ` Bastien
2014-04-28 13:40     ` Rainer M Krug
2014-04-03 11:47 ` Rainer M Krug

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='CAAmySGP58A_tVoGq_WM0mfGaLWDOCvBpw7yoxf=8i081BsPtgw@mail.gmail.com' \
    --to=michael.weylandt@gmail.com \
    --cc=bzg@gnu.org \
    --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).