unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12649: TUTORIAL: example doesn't works as it wrote
@ 2012-10-14 19:30 Игорь Поцелуев
  2012-10-14 20:07 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Игорь Поцелуев @ 2012-10-14 19:30 UTC (permalink / raw)
  To: 12649

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

Example in section "BUFFERS" in tutorial doesn't works as it wrote:
">> Create a file named "foo" by typing  C-x C-f foo <Return>.
   Then insert some text, edit it, and save "foo" by typing  C-x C-s.
   Finally, type C-x C-f TUTORIAL <Return>
   to come back to the tutorial."
When I type C-x C-f TUTORIAL <Return> emacs makes new empty file named
TUTORIAL - when I expect returning to previously opened tutorial' file.
This example is correct if at first to make change in tutorial, then type
C-x C-s TUTORIAL (save tutorial copy at home directory).


In GNU Emacs 23.3.1 (i686-redhat-linux-gnu, GTK+ Version 2.24.8)
 of 2012-08-14 on x86-01.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.11104000
configured using `configure  '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--program-prefix='
'--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/var/lib' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg'
'--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm'
'--with-x-toolkit=gtk' 'build_alias=i686-redhat-linux-gnu'
'host_alias=i686-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro ''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  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
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<file> <kill-buffer> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <file> <kill-buffer> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <file> <kill-buffer> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <emacs-tutorial> C-v C-v C-v C-v C-v C-v
C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v <help-echo>
<help-echo> C-x C-f f o o t <backspace> <backspace>
o <return> s C-x C-s C-x C-f T U T O R I A L <return>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <file> <kill-buffer> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <file>
<kill-buffer> <help-echo> C-z C-f C-x C-f f o o <return>
f j C-x C-s C-x C-f t u t o r i a l <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <file>
<kill-buffer> <help-echo> <help-echo> C-x C-f T U T
I R I A L C-w <backspace> <backspace> <backspace> <backspace>
<backspace> O R I A L <return> <help-echo> <down-mouse-1>
<help-echo> <drag-mouse-1> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <file> <kill-buffer> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <file>
<kill-buffer> <help-echo> <up> <up> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> C-c
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug-report>
C-g <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Tutorial position not saved
Preparing tutorial ...
Saving file /home/sam/foo...
Wrote /home/sam/foo
(New file)
Saving file /home/sam/foo...
Wrote /home/sam/foo
(New file)
kill-region: The mark is not set now, so there is no region
(New file)
Quit

Load-path shadows:
/usr/share/emacs/site-lisp/lilypond-init hides
/usr/share/emacs/site-lisp/site-start.d/lilypond-init
/usr/share/emacs/site-lisp/site-start.d/maxima-modes hides
/usr/share/emacs/site-lisp/maxima/site_start.d/maxima-modes

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug tutorial help-mode easymenu
goto-addr thingatpt noutline outline easy-mmode view tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote
make-network-process dbusbind system-font-setting font-render-setting
gtk x-toolkit x multi-tty emacs)

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

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

* bug#12649: TUTORIAL: example doesn't works as it wrote
  2012-10-14 19:30 bug#12649: TUTORIAL: example doesn't works as it wrote Игорь Поцелуев
@ 2012-10-14 20:07 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2012-10-14 20:07 UTC (permalink / raw)
  To: Игорь Поцелуев
  Cc: 12649-done

> Date: Sun, 14 Oct 2012 23:30:45 +0400
> From: Игорь Поцелуев
> 	<4eppelin@gmail.com>
> 
> Example in section "BUFFERS" in tutorial doesn't works as it wrote:
> ">> Create a file named "foo" by typing  C-x C-f foo <Return>.
>    Then insert some text, edit it, and save "foo" by typing  C-x C-s.
>    Finally, type C-x C-f TUTORIAL <Return>
>    to come back to the tutorial."
> When I type C-x C-f TUTORIAL <Return> emacs makes new empty file named
> TUTORIAL - when I expect returning to previously opened tutorial' file.
> This example is correct if at first to make change in tutorial, then type
> C-x C-s TUTORIAL (save tutorial copy at home directory).

Thanks, this is already fixed for the next release.  The tutorial now
says:

  >> Create a file named "foo" by typing C-x C-f foo <Return>.
     Then type C-x b TUTORIAL <Return> to come back to this tutorial.






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

end of thread, other threads:[~2012-10-14 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 19:30 bug#12649: TUTORIAL: example doesn't works as it wrote Игорь Поцелуев
2012-10-14 20:07 ` Eli Zaretskii

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