unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: arthur miller <arthur.miller@live.com>
To: Omar Polo <op@omarpolo.com>, Christopher Dimech <dimech@gmx.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Why do I find ^L in elisp code?
Date: Sat, 22 May 2021 16:51:33 +0000	[thread overview]
Message-ID: <AM9PR09MB4977B602A49CFA614579920B96289@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <87o8d2squt.fsf@omarpolo.com>

Yeah, both wasamasa and Purcell have some code to render page breaks prettier:

https://github.com/purcell/page-break-lines

https://depp.brause.cc/form-feed/

And if I remember well there was some interesting article by Mr. Kitchin which I can't find at the moment.

Otherwise, there is some read on wiki pages about page breaks:

https://www.emacswiki.org/emacs/PrettyControlL

https://www.emacswiki.org/emacs/PageBreaks




-------- Originalmeddelande --------
Från: Omar Polo <op@omarpolo.com>
Datum: 2021-05-22 17:58 (GMT+01:00)
Till: Christopher Dimech <dimech@gmx.com>
Kopia: arthur miller <arthur.miller@live.com>, help-gnu-emacs@gnu.org
Ämne: Re: Why do I find ^L in elisp code?


Christopher Dimech <dimech@gmx.com> writes:

> Is it still useful in new code?
>
> The Form Feed is hard to type.  Most text editors do not provide easy ways to type it.
> Could emacs cease using invisible glyphs as they could be are confusing and hard to read
> and type?  Sometimes I see an ASCII art box.
>
> Regards
> Christopher

I'm not an emacs dev, but I find the form feed handy.  Emacs (what other
editors do shouldn't be too much important, should we drop elisp too
since no other editors has a lisp core? :P) has some really handy
functions to handle pages, I encourage you to try to use them sometimes.

It's not really hard to type, just a C-q C-l, and, at least here on
emacs on x11, it's rendered as '^L'.  I've seen tricks to render it as
an horizontal rule.

>> Sent: Sunday, May 23, 2021 at 3:30 AM
>> From: "arthur miller" <arthur.miller@live.com>
>> To: "2QdxY4RzWzUUiLuE@potatochowder.com" <2QdxY4RzWzUUiLuE@potatochowder.com>, "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
>> Subject: RE: Why do I find ^L in elisp code?
>>
>> If  you are going to contribute a patch, don't remove them. I Was told .... 😀
>>
>>
>> -------- Originalmeddelande --------
>> Från: 2QdxY4RzWzUUiLuE@potatochowder.com
>> Datum: 2021-05-22 17:23 (GMT+01:00)
>> Till: help-gnu-emacs@gnu.org
>> Ämne: Re: Why do I find ^L in elisp code?
>>
>> On 2021-05-22 at 16:53:33 +0200,
>> Christopher Dimech <dimech@gmx.com> wrote:
>>
>> > Why do I find ^L in elisp code?
>>
>> Printers interpret U+000C FORM FEED as, well, a form feed, aka a page
>> break.  In the days of paper printers, it was a way to force the printer
>> to start a new page.  Yes, much existing elisp is that old.
>>
>>


  reply	other threads:[~2021-05-22 16:51 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 14:53 Why do I find ^L in elisp code? Christopher Dimech
2021-05-22 15:05 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 15:12   ` Christopher Dimech
2021-05-22 15:19     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 19:14   ` [External] : " Drew Adams
2021-05-22 15:15 ` Eli Zaretskii
2021-05-22 15:17 ` Omar Polo
2021-05-22 15:22 ` 2QdxY4RzWzUUiLuE
2021-05-22 15:30   ` arthur miller
2021-05-22 15:41     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 15:47     ` Christopher Dimech
2021-05-22 15:58       ` Omar Polo
2021-05-22 16:51         ` arthur miller [this message]
2021-05-22 19:15         ` [External] : " Drew Adams
2021-05-22 16:18       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 16:18       ` 2QdxY4RzWzUUiLuE
2021-05-22 16:21         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 16:43           ` 2QdxY4RzWzUUiLuE
2021-05-22 17:06             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 16:27       ` arthur miller
2021-05-22 17:32         ` Christopher Dimech
2021-05-22 18:27           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 18:32             ` Christopher Dimech
2021-05-22 18:40               ` music with/from Emacs (was: Re: Why do I find ^L in elisp code?) Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 21:09                 ` music with/from Emacs Arthur Miller
2021-05-22 21:45                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 21:53                     ` Arthur Miller
2021-05-22 21:59                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-24  1:32                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-24 11:44                         ` Arthur Miller
2021-05-22 16:33       ` Why do I find ^L in elisp code? Jean Louis
2021-05-22 17:02       ` Eduardo Ochs
2021-05-22 20:08         ` Jean Louis
2021-05-22 20:18           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 20:25             ` Jean Louis
2021-05-23  6:42               ` Eli Zaretskii
2021-05-23 19:14                 ` Unicode fonts - " Jean Louis
2021-05-23 19:42                   ` Input method generator package - Re: Unicode fonts Jean Louis
2021-05-24  8:00                   ` Unicode fonts - Re: Why do I find ^L in elisp code? Yuri Khan
2021-05-24  8:18                     ` Christopher Dimech
2021-05-24  8:48                     ` Jean Louis
2021-05-24  9:38                       ` Christopher Dimech
2021-05-24 14:06                       ` Yuri Khan
2021-05-24 14:24                         ` Jean Louis
2021-05-24 14:36                           ` Yuri Khan
2021-05-24 17:39                             ` Jean Louis
2021-05-24 15:02                           ` Eli Zaretskii
2021-05-24 17:31                             ` Christopher Dimech
2021-05-24 18:05                             ` Jean Louis
2021-05-24 18:12                               ` Eli Zaretskii
2021-05-24 20:19                                 ` Jean Louis

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=AM9PR09MB4977B602A49CFA614579920B96289@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=op@omarpolo.com \
    /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.
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).