unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34127: 26.1.91; Redisplay issues with tramp
@ 2019-01-18 22:02 Tim Blackman
  2019-01-18 22:33 ` Michael Albinus
  2019-01-19 21:53 ` Alan Third
  0 siblings, 2 replies; 10+ messages in thread
From: Tim Blackman @ 2019-01-18 22:02 UTC (permalink / raw)
  To: 34127

[-- Attachment #1: Type: text/plain, Size: 5629 bytes --]

I've been noticing various display anomalies when using the latest Emacs
26.1.91 pretest. Some cases are hard to capture or categorize, but it
seems like I'm seeing more "flashing" for redisplay than I usually do.

The case I was able to capture was when using tramp.

If I create a new tramp connection (after calling M-x
tramp-cleanup-all-connections), I see a strangely blank screen from
after calling the command (say C-x C-f "/-:slc:") until the directory
gets displayed. Please see the attached picture.

That blank screen behavior is new. In 26.1, the frame contents continue
to be displayed while the command is running.

- Tim




In GNU Emacs 26.1.91 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511))
 of 2019-01-07 built on builder10-10.porkrind.org
Windowing system distributor 'Apple', version 10.3.1561
Recent messages:
Tramp: Sending command ‘exec ssh   -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none slc’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘slc’
Tramp: Opening connection for slc using scp...done
Directory has changed on disk; type g to update Dired
Tramp: Opening connection for slc using scp...
Tramp: Sending command ‘exec ssh   -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none slc’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘slc’
Tramp: Opening connection for slc using scp...done

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  diff-auto-refine-mode: t
  flyspell-mode: t
  global-subword-mode: t
  subword-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow emacsbug sendmail debug tabify cl-print help-fns radix-tree
compare-w conf-mode sort ffap tramp-cmds sh-script executable rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-enc xmltok mhtml-mode css-mode smie
color eww mm-url gnus nnheader wid-edit url-queue shr svg xml ediff-vers
ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init
ediff-util ediff vc-git browse-url files-x tramp-cache tramp-sh
iso-transl mail-extr vc-annotate log-edit message rmc puny rfc822 mml
mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
diff-mode dabbrev js sgml-mode dom imenu grep dired-aux dired
dired-loaddefs misearch multi-isearch add-log log-view pcvs-util
cl-extra help-mode vc pulse vc-dispatcher cc-mode cc-fonts cc-guess
cc-menus cc-cmds etags xref project thingatpt ssh compile vc-hg
pcmpl-unix vc-filewise vc-rcs flyspell ispell elec-pair man server
cap-words superword subword cc-styles cc-align cc-engine cc-vars cc-defs
edmacro kmacro restclient noutline outline easy-mmode json map url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap redo+ tjb-env tjb-misc-2 timezone tjb-misc
cl tramp tramp-compat tramp-loaddefs trampver shell pcomplete comint
ansi-color ring parse-time format-spec advice paren time delsel
cus-start cus-load finder-inf rainbow-mode-autoloads package easymenu
epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 1651578 380351)
 (symbols 48 54590 3)
 (miscs 40 8950 10647)
 (strings 32 114959 130840)
 (string-bytes 1 9571902)
 (vectors 16 71559)
 (vector-slots 8 2252190 163320)
 (floats 8 436 1189)
 (intervals 56 239444 12400)
 (buffers 992 466))


[-- Attachment #2.1: Type: text/html, Size: 7659 bytes --]

[-- Attachment #2.2: Screen Shot 2019-01-18 at 4.55.31 PM.png --]
[-- Type: image/png, Size: 42712 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-18 22:02 bug#34127: 26.1.91; Redisplay issues with tramp Tim Blackman
@ 2019-01-18 22:33 ` Michael Albinus
  2019-01-22 13:36   ` Tim Blackman
  2019-01-19 21:53 ` Alan Third
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2019-01-18 22:33 UTC (permalink / raw)
  To: Tim Blackman; +Cc: 34127

Tim Blackman <tim.blackman@oracle.com> writes:

Hi Tim,

> I've been noticing various display anomalies when using the latest
> Emacs
> 26.1.91 pretest. Some cases are hard to capture or categorize, but it
> seems like I'm seeing more "flashing" for redisplay than I usually do.
>
> The case I was able to capture was when using tramp.
>
> If I create a new tramp connection (after calling M-x
> tramp-cleanup-all-connections), I see a strangely blank screen from
> after calling the command (say C-x C-f "/-:slc:") until the directory
> gets displayed. Please see the attached picture.
>
> That blank screen behavior is new. In 26.1, the frame contents
> continue
> to be displayed while the command is running.

Does it happen also when calling "emacs -Q"?

> - Tim

Best regards, Michael.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-18 22:02 bug#34127: 26.1.91; Redisplay issues with tramp Tim Blackman
  2019-01-18 22:33 ` Michael Albinus
@ 2019-01-19 21:53 ` Alan Third
  2019-01-22 13:52   ` Tim Blackman
  1 sibling, 1 reply; 10+ messages in thread
From: Alan Third @ 2019-01-19 21:53 UTC (permalink / raw)
  To: Tim Blackman; +Cc: 34127

On Fri, Jan 18, 2019 at 05:02:04PM -0500, Tim Blackman wrote:
> I've been noticing various display anomalies when using the latest Emacs
> 26.1.91 pretest. Some cases are hard to capture or categorize, but it
> seems like I'm seeing more "flashing" for redisplay than I usually do.
> 
> The case I was able to capture was when using tramp.
> 
> If I create a new tramp connection (after calling M-x
> tramp-cleanup-all-connections), I see a strangely blank screen from
> after calling the command (say C-x C-f "/-:slc:") until the directory
> gets displayed. Please see the attached picture.
> 
> That blank screen behavior is new. In 26.1, the frame contents continue
> to be displayed while the command is running.

I believe this is caused by the changes made for macOS Mojave
compatibility. There has been a patch applied to the emacs-26 branch
that fixes some of these issues, but which missed the pretest. If it’s
possible for you to test an updated version that would be helpful.

I’m also working on a more complete set of patches, but I doubt
they’ll be good for Emacs 26.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-18 22:33 ` Michael Albinus
@ 2019-01-22 13:36   ` Tim Blackman
  0 siblings, 0 replies; 10+ messages in thread
From: Tim Blackman @ 2019-01-22 13:36 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 34127

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

On Jan 18, 2019, at 5:33 PM, Michael Albinus <michael.albinus@gmx.de> wrote:

>> If I create a new tramp connection (after calling M-x tramp-cleanup-all-connections), I see a strangely blank screen from after calling the command (say C-x C-f "/-:slc:") until the directory gets displayed. Please see the attached picture.
>> 
>> That blank screen behavior is new. In 26.1, the frame contents continue to be displayed while the command is running.
> 
> Does it happen also when calling "emacs -Q"?

Yes, I see the same behavior with -Q.

- Tim


[-- Attachment #2: Type: text/html, Size: 2512 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-19 21:53 ` Alan Third
@ 2019-01-22 13:52   ` Tim Blackman
  2019-01-22 17:19     ` Alan Third
  2019-01-22 22:54     ` Michael Albinus
  0 siblings, 2 replies; 10+ messages in thread
From: Tim Blackman @ 2019-01-22 13:52 UTC (permalink / raw)
  To: Alan Third; +Cc: 34127

On Jan 19, 2019, at 4:53 PM, Alan Third <alan@idiocy.org> wrote:

>> If I create a new tramp connection (after calling M-x
>> tramp-cleanup-all-connections), I see a strangely blank screen from
>> after calling the command (say C-x C-f "/-:slc:") until the directory
>> gets displayed. Please see the attached picture.
>> 
>> That blank screen behavior is new. In 26.1, the frame contents continue
>> to be displayed while the command is running.
> 
> I believe this is caused by the changes made for macOS Mojave
> compatibility.

Yes, I figured. I'm running on High Sierra for the moment, but was hoping to move to Mojave soon — that's why I'm testing it out.

> There has been a patch applied to the emacs-26 branch
> that fixes some of these issues, but which missed the pretest. If it’s
> possible for you to test an updated version that would be helpful.

I tried the 1/22/2019 nightly from emacsforosx.com, but tramp didn't work as expected. It reports its version number as 27.0.50 — is that the right one to try?

In the 26.1 pretest, I did:

  C-x C-f /scp:slc:

(slc is my remote hostname).

That produced the blanking behavior I described

But in the nightly, this just says that the directory is not found — seems to think I mean a local directory.

Did something change (again) about tramp syntax?

> I’m also working on a more complete set of patches, but I doubt
> they’ll be good for Emacs 26.

- Tim






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-22 13:52   ` Tim Blackman
@ 2019-01-22 17:19     ` Alan Third
  2019-01-22 22:54     ` Michael Albinus
  1 sibling, 0 replies; 10+ messages in thread
From: Alan Third @ 2019-01-22 17:19 UTC (permalink / raw)
  To: Tim Blackman; +Cc: 34127

On Tue, Jan 22, 2019 at 08:52:57AM -0500, Tim Blackman wrote:
> On Jan 19, 2019, at 4:53 PM, Alan Third <alan@idiocy.org> wrote:
> 
> > There has been a patch applied to the emacs-26 branch
> > that fixes some of these issues, but which missed the pretest. If it’s
> > possible for you to test an updated version that would be helpful.
> 
> I tried the 1/22/2019 nightly from emacsforosx.com, but tramp didn't
> work as expected. It reports its version number as 27.0.50 — is that
> the right one to try?

Yes, unfortunately I don’t think the blanking issue has been fixed.
I’ve seen it occur in almost any situation where redisplay waits for
more than ~3 seconds. I can’t see any way to fix it at the moment.

-- 
Alan Third





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-22 13:52   ` Tim Blackman
  2019-01-22 17:19     ` Alan Third
@ 2019-01-22 22:54     ` Michael Albinus
  2019-01-23 13:14       ` Tim Blackman
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2019-01-22 22:54 UTC (permalink / raw)
  To: Tim Blackman; +Cc: 34127, Alan Third

Tim Blackman <tim.blackman@oracle.com> writes:

Hi Tim,

> I tried the 1/22/2019 nightly from emacsforosx.com, but tramp didn't
> work as expected. It reports its version number as 27.0.50 — is that
> the right one to try?
>
> In the 26.1 pretest, I did:
>
>   C-x C-f /scp:slc:
>
> (slc is my remote hostname).
>
> That produced the blanking behavior I described
>
> But in the nightly, this just says that the directory is not found —
> seems to think I mean a local directory.
>
> Did something change (again) about tramp syntax?

No Tramp syntax change between Emacs 26 and 27. Have you tried to enter
<RET> then? What is the exact error message?

(And again, do you see *this* message also with "emacs -Q"?)

> - Tim

Best regards, Michael.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-22 22:54     ` Michael Albinus
@ 2019-01-23 13:14       ` Tim Blackman
  2019-01-23 13:39         ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Tim Blackman @ 2019-01-23 13:14 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 34127, Alan Third

On Jan 22, 2019, at 5:54 PM, Michael Albinus <michael.albinus@gmx.de> wrote:

>> I tried the 1/22/2019 nightly from emacsforosx.com, but tramp didn't
>> work as expected. It reports its version number as 27.0.50 — is that
>> the right one to try?
>> 
>> In the 26.1 pretest, I did:
>> 
>>  C-x C-f /scp:slc:
>> 
>> (slc is my remote hostname).
>> 
>> That produced the blanking behavior I described
>> 
>> But in the nightly, this just says that the directory is not found —
>> seems to think I mean a local directory.
>> 
>> Did something change (again) about tramp syntax?
> 
> No Tramp syntax change between Emacs 26 and 27.

Huh.

> Have you tried to enter <RET> then? What is the exact error message?
> 
> (And again, do you see *this* message also with "emacs -Q"?)

I started up the nightly by doing:

  open /Volumes/Emacs/Emacs.app/ --args -Q

I did:

  C-x C-f /scp:slc:<RET>

The message area displayed:

  File not found and directory write-protected

The buffer showing was named "scp:slc:", so it seemed to think I was talking about a local file. That's why I was wondering if there was a syntax change.

Note that when I type C-x C-f in the pretest version, the default directory is "~/", but it is "/" in the nightly. Not sure if that is significant. Sorry we are getting into what seems like some sort of unrelated confusion.

I was able to reproduce the redisplay problem with the nightly version of Emacs when I didn't use -Q, so my guess is that there is something wonky (and unrelated) going on at startup.

- Tim




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-23 13:14       ` Tim Blackman
@ 2019-01-23 13:39         ` Michael Albinus
  2019-01-23 13:42           ` Tim Blackman
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2019-01-23 13:39 UTC (permalink / raw)
  To: Tim Blackman; +Cc: 34127, Alan Third

Tim Blackman <tim.blackman@oracle.com> writes:

Hi Tim,

>> Have you tried to enter <RET> then? What is the exact error message?
>> 
>> (And again, do you see *this* message also with "emacs -Q"?)
>
> I started up the nightly by doing:
>
>   open /Volumes/Emacs/Emacs.app/ --args -Q
>
> I did:
>
>   C-x C-f /scp:slc:<RET>
>
> The message area displayed:
>
>   File not found and directory write-protected
>
> The buffer showing was named "scp:slc:", so it seemed to think I was
> talking about a local file. That's why I was wondering if there was a
> syntax change.
>
> Note that when I type C-x C-f in the pretest version, the default
> directory is "~/", but it is "/" in the nightly. Not sure if that is
> significant. Sorry we are getting into what seems like some sort of
> unrelated confusion.

I propose you write another bug report about. Best with proper Tramp
traces; pls apply (setq tramp-verbose 6) prior opening the remote
file. There will be a Tramp debug buffer, which shall tell us what's up.

> I was able to reproduce the redisplay problem with the nightly version
> of Emacs when I didn't use -Q, so my guess is that there is something
> wonky (and unrelated) going on at startup.

This shall be handled here.

> - Tim

Best regards, Michael.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#34127: 26.1.91; Redisplay issues with tramp
  2019-01-23 13:39         ` Michael Albinus
@ 2019-01-23 13:42           ` Tim Blackman
  0 siblings, 0 replies; 10+ messages in thread
From: Tim Blackman @ 2019-01-23 13:42 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 34127, Alan Third

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

On Jan 23, 2019, at 8:39 AM, Michael Albinus <michael.albinus@gmx.de> wrote:

>> I did:
>> 
>>  C-x C-f /scp:slc:<RET>
>> 
>> The message area displayed:
>> 
>>  File not found and directory write-protected
>> 
>> The buffer showing was named "scp:slc:", so it seemed to think I was
>> talking about a local file. That's why I was wondering if there was a
>> syntax change.
>> 
>> Note that when I type C-x C-f in the pretest version, the default
>> directory is "~/", but it is "/" in the nightly. Not sure if that is
>> significant. Sorry we are getting into what seems like some sort of
>> unrelated confusion.
> 
> I propose you write another bug report about. Best with proper Tramp
> traces; pls apply (setq tramp-verbose 6) prior opening the remote
> file. There will be a Tramp debug buffer, which shall tell us what's up.

OK, will do.

>> I was able to reproduce the redisplay problem with the nightly version
>> of Emacs when I didn't use -Q, so my guess is that there is something
>> wonky (and unrelated) going on at startup.
> 
> This shall be handled here.

Thanks to both of you for your help with this!

- Tim

[-- Attachment #2: Type: text/html, Size: 5832 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-01-23 13:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-18 22:02 bug#34127: 26.1.91; Redisplay issues with tramp Tim Blackman
2019-01-18 22:33 ` Michael Albinus
2019-01-22 13:36   ` Tim Blackman
2019-01-19 21:53 ` Alan Third
2019-01-22 13:52   ` Tim Blackman
2019-01-22 17:19     ` Alan Third
2019-01-22 22:54     ` Michael Albinus
2019-01-23 13:14       ` Tim Blackman
2019-01-23 13:39         ` Michael Albinus
2019-01-23 13:42           ` Tim Blackman

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).