unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Kevin Ryde <user42_kevin@yahoo.com.au>
Cc: 19039@debbugs.gnu.org
Subject: bug#19039: 24.3; latex-mode paragraph-separate of \pagebreak[0]
Date: Wed, 09 Mar 2016 07:06:57 +0100	[thread overview]
Message-ID: <87egbkxjzy.fsf@mbork.pl> (raw)
In-Reply-To: <87a93vqqfi.fsf@blah.blah> (Kevin Ryde's message of "Thu, 13 Nov 2014 22:40:33 +1100")

On 2014-11-13, at 22:40, Kevin Ryde <user42_kevin@yahoo.com.au> wrote:

> In latex-mode it'd be good if \pagebreak[0] was a paragraph separator,
> as for example
>
> Blah blah         \ pagagraph
> blah blah.        /
> \pagebreak[0]
> \begin{align}
> ...
>
> An unconditional \pagebreak is already a separator, but not when an
> optional arg [0] or [3] etc.
>
> Perhaps digits and brackets like below.  Only some of the "space" "skip"
> and "page" commands matched take optional args like this, but allowing
> for all shouldn't hurt.
>
> 2014-11-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
>
> 	* textmodes/tex-mode.el (latex-mode): In paragraph-separate allow
> 	optional argument [0] etc for \pagebreak[0]

This simple patch looks reasonable to me.  Could someone either install
it or tell the OP if he should do something more with it?

Best,

-- 
Marcin





  reply	other threads:[~2016-03-09  6:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 11:40 bug#19039: 24.3; latex-mode paragraph-separate of \pagebreak[0] Kevin Ryde
2016-03-09  6:06 ` Marcin Borkowski [this message]
2019-09-30  1:33 ` Stefan Kangas
2019-10-30 21:37   ` Stefan Kangas

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87egbkxjzy.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=19039@debbugs.gnu.org \
    --cc=user42_kevin@yahoo.com.au \
    /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.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).