[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Why do I find ^L in elisp code?
From: |
arthur miller |
Subject: |
RE: Why do I find ^L in elisp code? |
Date: |
Sat, 22 May 2021 16:51:33 +0000 |
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.
>>
>>
- Re: Why do I find ^L in elisp code?, (continued)
- Re: Why do I find ^L in elisp code?, Eli Zaretskii, 2021/05/22
- Re: Why do I find ^L in elisp code?, Omar Polo, 2021/05/22
- Re: Why do I find ^L in elisp code?, 2QdxY4RzWzUUiLuE, 2021/05/22
- RE: Why do I find ^L in elisp code?, arthur miller, 2021/05/22
- Re: Why do I find ^L in elisp code?, Emanuel Berg, 2021/05/22
- Re: Why do I find ^L in elisp code?, 2QdxY4RzWzUUiLuE, 2021/05/22
- Re: Why do I find ^L in elisp code?, Emanuel Berg, 2021/05/22
- Re: Why do I find ^L in elisp code?, 2QdxY4RzWzUUiLuE, 2021/05/22
- Re: Why do I find ^L in elisp code?, Emanuel Berg, 2021/05/22
- RE: Why do I find ^L in elisp code?, arthur miller, 2021/05/22
- Why do I find ^L in elisp code?, Christopher Dimech, 2021/05/22
- Re: Why do I find ^L in elisp code?, Emanuel Berg, 2021/05/22
- Re: Why do I find ^L in elisp code?, Christopher Dimech, 2021/05/22