unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12643: 24.2.50; TRAMP and ps-spool functions
@ 2012-10-14  9:21 Peter Dyballa
  2012-10-14  9:47 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2012-10-14  9:21 UTC (permalink / raw)
  To: 12643

Hello!

When I open /ftp:anonymous@ftp.math.s.chiba-u.ac.jp:/emacs and then invoke ps-spool-buffer-with-faces I get a *PostScript* buffer. When I want to save it (C-x C-w), GNU Emacs offers in mini-buffer with a prompt:

	Write file: /ftp:anonymous@ftp.math.s.chiba-u.ac.jp:/emacs/

which does not seem clever. The *PostScript* buffer is something local, now a local copy of something previously remote, and I would assume that GNU Emacs will offer my home directory or the directory where it was launched from as the place to save the buffer and not that remote site\x17. Saving that buffer by adding for example "~/" plus some characters and hoping that file name completion will handle this, also fails since GNU Emacs still assumes the "~/" has to be expanded on the remote system where this user (anonymous) does not exist. This seems to be another bug, since I can open a file from directory X and type

	C-x C-w ~/<whatever>

and the file name is expanded and the file is saved in my home directory. Why is TRAMP behaving differently? Can this deviating behaviour be customised?


In GNU Emacs 24.2.50.1 (i386-apple-darwin10.8.0, X toolkit, Xaw3d scroll bars)
 of 2012-10-10 on Sumac.local
Bzr revision: 110494 eggert@cs.ucla.edu-20121010063916-igfiv4cgf4olll6c
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
Configured using:
 `configure '--build=x86_64-apple-darwin10.8.0'
 '--host=i386-apple-darwin10.8.0' '--target=i386-apple-darwin10.8.0'
 '--with-wide-int' '--without-pop' '--without-sound' '--without-gpm'
 '--without-dbus' '--without-selinux' '--with-x-toolkit=athena'
 '--disable-ns-self-contained' '--without-xpm' '--without-jpeg'
 '--without-tiff' '--without-gif' '--without-png' '--without-rsvg'
 '--x-libraries=/usr/X11/lib' '--x-includes=/usr/X11/include'
 '--enable-locallisppath=/Library/Application
 Support/Emacs/calendar24:/Library/Application Support/Emacs' 'CFLAGS=-g
 -H -pipe -fPIC -fno-common -Os -march=core2 -mtune=core2 -m32
 -fomit-frame-pointer -msse4.2' 'LDFLAGS=-m32 -Wl,-dead_strip_dylibs
 -Wl,-bind_at_load -Wl,-t' 'CPPFLAGS=-I/sw/include' 'CC=clang'
 'CXX=clang++'
 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig'
 'build_alias=x86_64-apple-darwin10.8.0'
 'host_alias=i386-apple-darwin10.8.0'
 'target_alias=i386-apple-darwin10.8.0''

Important settings:
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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
  transient-mark-mode: t


--
Mit friedvollen Grüßen

  Pete

Time flies like an error – but fruit flies like a banana!
				- (almost) Groucho Marx






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

end of thread, other threads:[~2016-08-31  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14  9:21 bug#12643: 24.2.50; TRAMP and ps-spool functions Peter Dyballa
2012-10-14  9:47 ` Andreas Schwab
2012-10-14 10:26   ` Peter Dyballa
2012-10-14 11:51     ` Eli Zaretskii
2016-08-23 14:09       ` Michael Albinus
2016-08-31  9:31         ` Michael Albinus

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