unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: 12643@debbugs.gnu.org
Subject: bug#12643: 24.2.50; TRAMP and ps-spool functions
Date: Sun, 14 Oct 2012 11:21:34 +0200	[thread overview]
Message-ID: <FD7E6E3D-01DB-4B80-B432-5FA131734BBF@Freenet.DE> (raw)

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






             reply	other threads:[~2012-10-14  9:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14  9:21 Peter Dyballa [this message]
2012-10-14  9:47 ` bug#12643: 24.2.50; TRAMP and ps-spool functions 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

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=FD7E6E3D-01DB-4B80-B432-5FA131734BBF@Freenet.DE \
    --to=peter_dyballa@freenet.de \
    --cc=12643@debbugs.gnu.org \
    /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.
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).