Rouvrir le buffer et retrouver le curseur la ou on l'a quitte
1 réponse
Daniel Déchelotte
Bonjour !
J'ai de temps en temps, je l'avoue, utilise l'editeur de la Bete, et une
fonctionnalite m'a d'abord etonne puis plu : lorsque l'on rouvre un
fichier, le curseur est positionne la ou on l'a quitte.
Comment obtenir le meme resultat avec l'Editeur (Emacs 21.3) ?
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Daniel Déchelotte
Damien Wyart a écrit :
| ;;; saveplace.el --- automatically save place in files | | ;; Copyright (C) 1993, 1994, 2001 Free Software Foundation, Inc. | | ;; This file is part of GNU Emacs. | | ;;; Commentary: | ;; Automatically save place in files, so that visiting them later | ;; (even during a different Emacs session) automatically moves point | ;; to the saved position, when the file is first found. Uses the | ;; value of buffer-local variable save-place to determine whether to | ;; save position or not.
Excellent, merci. Pour l'abreviation dynamique, je vais essayer le dabbrev-expand, comme tu l'as suggere, et voir si ca me rend plus chevre que l'option precedente.
-- Daniel Déchelotte http://yo.dan.free.fr/
Damien Wyart <damien.wyart@free.fr> a écrit :
| ;;; saveplace.el --- automatically save place in files
|
| ;; Copyright (C) 1993, 1994, 2001 Free Software Foundation, Inc.
|
| ;; This file is part of GNU Emacs.
|
| ;;; Commentary:
| ;; Automatically save place in files, so that visiting them later
| ;; (even during a different Emacs session) automatically moves point
| ;; to the saved position, when the file is first found. Uses the
| ;; value of buffer-local variable save-place to determine whether to
| ;; save position or not.
Excellent, merci. Pour l'abreviation dynamique, je vais essayer le
dabbrev-expand, comme tu l'as suggere, et voir si ca me rend plus
chevre que l'option precedente.
| ;;; saveplace.el --- automatically save place in files | | ;; Copyright (C) 1993, 1994, 2001 Free Software Foundation, Inc. | | ;; This file is part of GNU Emacs. | | ;;; Commentary: | ;; Automatically save place in files, so that visiting them later | ;; (even during a different Emacs session) automatically moves point | ;; to the saved position, when the file is first found. Uses the | ;; value of buffer-local variable save-place to determine whether to | ;; save position or not.
Excellent, merci. Pour l'abreviation dynamique, je vais essayer le dabbrev-expand, comme tu l'as suggere, et voir si ca me rend plus chevre que l'option precedente.