[nSLUG] nSLUG Digest, Vol 754, Issue 1

robbie macg robbie.macg at gmail.com
Wed Apr 12 13:29:42 ADT 2017


Thanks for you kind attention, all.

Monte: you and I have similar configs for the lxpanel. I don't know why
maximized applications respect the 'reserve space' flag while those sharing
screen real estate do not, but I'm looking into it.

Douglas/Mike: your discussions got me thinking in a different direction. I
discovered that launching emacs with the '-fh' flag yielded the desired
result (though I cannot say why), created an alias, went on with my life.

Thank you for the input,
Robbie

On 12 April 2017 at 12:00, <nslug-request at nslug.ns.ca> wrote:

> Send nSLUG mailing list submissions to
>         nslug at nslug.ns.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://nslug.ns.ca/mailman/listinfo/nslug
> or, via email, send a message with subject or body 'help' to
>         nslug-request at nslug.ns.ca
>
> You can reach the person managing the list at
>         nslug-owner at nslug.ns.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of nSLUG digest..."
>
>
> Today's Topics:
>
>    1. Re:  Emacs + LXDE (Douglas Guptill)
>    2.   Re: Emacs + LXDE (Mike Spencer)
>    3. Re:  Emacs + LXDE (Douglas Guptill)
>    4. Re:  Emacs + LXDE (Mike Spencer)
>    5. Re:  Emacs + LXDE (Monte Stevens)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 11 Apr 2017 20:22:23 -0300
> From: Douglas Guptill <dguptill at accesswave.ca>
> To: Nova Scotia Linux User Group <nslug at nslug.ns.ca>
> Subject: Re: [nSLUG] Emacs + LXDE
> Message-ID: <20170411232223.GA20967 at blackscram.eastlink.ca>
> Content-Type: text/plain; charset=us-ascii
>
> Hi:
>
> On Tue, Apr 11, 2017 at 12:09:55PM -0300, robbie macg wrote:
>
> > Hi,
> > Set up a new install on a little netbook I inherited recently. I'm
> running
> > Fedora 25 with an LXDE front end. So far so good, except for one thing...
> >
> > When I run Emacs (GUI) there's some kind of miscommunication that results
> > in the minibuffer (bottom part of the application window where commands
> > appear as you type them) rendering behind the panel at the bottom of the
> > screen or otherwise out of view. Google offers little in the way of
> advice.
> > Any LUG members have thoughts about how I should try to tackle this
> problem?
>
> Dump the 'emacs' package, and install 'emacs-nox'.  Then start emacs
> like this: 'lxterminal -e emacs file-name', or just 'emacs'.  F10 will
> get you a menu bar.
>
> HTH,
> Douglas.
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 11 Apr 2017 21:00:43 -0300
> From: mspencer at tallships.ca (Mike Spencer)
> To: nslug at nslug.ns.ca
> Subject: [nSLUG]  Re: Emacs + LXDE
> Message-ID: <201704120000.v3C00hat007186 at bogus.nodomain.nowhere>
>
>
> Douglas Guptill <dguptill at accesswave.ca> wrote:
>
> > On Tue, Apr 11, 2017 at 12:09:55PM -0300, robbie macg wrote:
> >
> >> Hi,
> >> Set up a new install on a little netbook I inherited recently. I'm
> running
> >> Fedora 25 with an LXDE front end. So far so good, except for one
> thing...
> >>
> >> When I run Emacs (GUI) there's some kind of miscommunication that
> results
> >> in the minibuffer (bottom part of the application window where commands
> >> appear as you type them) rendering behind the panel at the bottom of the
> >> screen or otherwise out of view. Google offers little in the way of
> advice.
> >> Any LUG members have thoughts about how I should try to tackle this
> problem?
> >
> > Dump the 'emacs' package, and install 'emacs-nox'.  Then start emacs
> > like this: 'lxterminal -e emacs file-name', or just 'emacs'.  F10
> > will get you a menu bar.
>
> Not sure about behaviour under LXDE but what you suggest may have
> shortcomings.
>
> I routinely run emacs both as an X-native app (in its own
> self-generated window) and "emacs -nw" in an xterm.  If you only
> install the emacs-nox package, the result should be similar to running
> "emacs -nw" in a terminal emulator (xterm or lxterminal).
>
> But emacs -nw in an xterm is not fully X-aware.  For example,
> long lines displayed in emacs with line wrap (truncate-lines off)
> display a '\' character at the right margin to indicate a wrapped
> line.  Using the mouse to copy and paste such lines from "emacs -nw"
> in an xterm copies both the backslash and the bogus newline.  From an
> ordinary emacs window in X, emacs is aware of X, understands that the
> '\'  and '\n' are not part of the text and the paste (say of a long
> URL into a browser) proceeds as expected.
>
> There may be other similar gotchas.
>
> FWIW,
> - Mike
>
> --
> Michael Spencer                  Nova Scotia, Canada       .~.
>                                                            /V\
> mspencer at tallships.ca                                     /( )\
> http://home.tallships.ca/mspencer/                        ^^-^^
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 11 Apr 2017 22:31:43 -0300
> From: Douglas Guptill <dguptill at accesswave.ca>
> To: Nova Scotia Linux User Group <nslug at nslug.ns.ca>
> Subject: Re: [nSLUG] Emacs + LXDE
> Message-ID: <20170412013142.GA23315 at blackscram.eastlink.ca>
> Content-Type: text/plain; charset=us-ascii
>
> Hello Mike:
>
> On Tue, Apr 11, 2017 at 09:00:43PM -0300, Mike Spencer wrote:
>
> > Douglas Guptill <dguptill at accesswave.ca> wrote:
>
> > > On Tue, Apr 11, 2017 at 12:09:55PM -0300, robbie macg wrote:
>
> > >> Hi,
> > >> Set up a new install on a little netbook I inherited recently. I'm
> running
> > >> Fedora 25 with an LXDE front end. So far so good, except for one
> thing...
> > >>
> > >> When I run Emacs (GUI) there's some kind of miscommunication that
> results
> > >> in the minibuffer (bottom part of the application window where
> commands
> > >> appear as you type them) rendering behind the panel at the bottom of
> the
> > >> screen or otherwise out of view. Google offers little in the way of
> advice.
> > >> Any LUG members have thoughts about how I should try to tackle this
> problem?
> > >
> > > Dump the 'emacs' package, and install 'emacs-nox'.  Then start emacs
> > > like this: 'lxterminal -e emacs file-name', or just 'emacs'.  F10
> > > will get you a menu bar.
> >
> > Not sure about behaviour under LXDE but what you suggest may have
> > shortcomings.
> >
> > I routinely run emacs both as an X-native app (in its own
> > self-generated window) and "emacs -nw" in an xterm.  If you only
> > install the emacs-nox package, the result should be similar to running
> > "emacs -nw" in a terminal emulator (xterm or lxterminal).
> >
> > But emacs -nw in an xterm is not fully X-aware.
>
> That is the point.  When emacs tries to be X-aware, it gets into
> trouble.  Long latencies when ssh'ing to remote machines.  Especially
> if those remote machines are running a different GNU/Linux.  And/or a
> different version of X.  Or it used to.
>
> In my experience, emacs-nox behaves differently, and more
> satisfactorily, than 'emacs -nw'.
>
> Mike:  Glad to see you are still alive and kicking.
>
> Regards,
> Douglas.
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 12 Apr 2017 04:31:41 -0300
> From: mspencer at tallships.ca (Mike Spencer)
> To: nslug at nslug.ns.ca
> Subject: Re: [nSLUG] Emacs + LXDE
> Message-ID: <201704120731.v3C7VfWc013482 at bogus.nodomain.nowhere>
>
>
> Douglas Guptill <dguptill at accesswave.ca> wrote:
>
> > On Tue, Apr 11, 2017 at 09:00:43PM -0300, Mike Spencer wrote:
> >
> > [snip]
> >
> >> But emacs -nw in an xterm is not fully X-aware.
> >
> > That is the point.  When emacs tries to be X-aware, it gets into
> > trouble.  Long latencies when ssh'ing to remote machines.
>
> Do you mean running emacs on the remote machine with the window on the
> localhost X display?  Or doing ssh in an emacs shell buffer?
>
> > Especially if those remote machines are running a different
> > GNU/Linux.  And/or a different version of X.  Or it used to.
>
> Huh.  I don't recall any problem with emacs in its own window.  But I
> run a very old emacs (20.7.2) in order to avoid having to figure out
> how to disable a bunch of new features -- colorization, menu bars, I
> forget what else -- that I dislike.  Newer emacsen may have newer
> conflicts with X or a desktop that sits on top of X.
>
> > In my experience, emacs-nox behaves differently, and more
> > satisfactorily, than 'emacs -nw'.
>
> Huh.  I just ran /usr/bin/emacs-20.7-no-x11 in a xterm.  Never did
> that before.  It has a menu bar that should have been disabled in
> ~/.emacs and which is unresponsive to the mouse. You're right, it's
> different.
>
> > Mike:  Glad to see you are still alive and kicking.
>
> Thank you.  So am I. :-)  Spring is here, our woodcock is back singing
> at dusk in the back garden and we're not going to run out of wood
> before it gets warm.  Now if my mental acuity would just stay sharp
> for a few more hours in the day, I'd be good.  Anybody else trying to
> read stuff by Yaneer Bar-Yam, New England Complex Systems Institute?
>
> - Mike
>
> --
> Michael Spencer                  Nova Scotia, Canada       .~.
>                                                            /V\
> mspencer at tallships.ca                                     /( )\
> http://home.tallships.ca/mspencer/                        ^^-^^
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 12 Apr 2017 06:56:34 -0300
> From: Monte Stevens <montestevens at openmailbox.org>
> To: Nova Scotia Linux User Group <nslug at nslug.ns.ca>
> Subject: Re: [nSLUG] Emacs + LXDE
> Message-ID: <87k26qkkz1.fsf at liberty.belll.mooo.com>
> Content-Type: text/plain
>
> Douglas Guptill <dguptill at accesswave.ca> writes:
>
> > Hi:
> >
> > On Tue, Apr 11, 2017 at 12:09:55PM -0300, robbie macg wrote:
> >
> >> Hi,
> >> Set up a new install on a little netbook I inherited recently. I'm
> running
> >> Fedora 25 with an LXDE front end. So far so good, except for one
> thing...
> >>
> >> When I run Emacs (GUI) there's some kind of miscommunication that
> results
> >> in the minibuffer (bottom part of the application window where commands
> >> appear as you type them) rendering behind the panel at the bottom of the
> >> screen or otherwise out of view. Google offers little in the way of
> advice.
> >> Any LUG members have thoughts about how I should try to tackle this
> problem?
> >
> > Dump the 'emacs' package, and install 'emacs-nox'.  Then start emacs
> > like this: 'lxterminal -e emacs file-name', or just 'emacs'.  F10 will
> > get you a menu bar.
>
> LXDE trumps Emacs?  How about dumping LXDE for cwm.
>
> Seriously though.  What happens when you run `emacs -Q`?  Any change?
> This test would rule out anything in your .emacs file.
>
> I had a problem similar to this in fluxbox.  The mini-buffer and the
> mode line were off the bottom of the screen each time I started emacs.
> I fixed this problem by not using fluxbox anymore.
>
> I can't seem to reproduce your issue in LXDE on Debian testing.
>
> What are your Panel Preferences?  (Right click on the Panel, Panel
> Settings.)  I've got:
> - geometry
>   - edge = bottom
>   - alignment = left
>   - margin = 0
>   - monitor = 1
>   - width = 100%
>   - height = 26 px
>   - icon size = 24 px
> - advanced
>   - make window managers treat the panel as dock = yes
>   - reserve space, and not covered by maximized windows = yes
>
>   Monte
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
>
>
> ------------------------------
>
> End of nSLUG Digest, Vol 754, Issue 1
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20170412/be1d427a/attachment-0001.html>


More information about the nSLUG mailing list