From mboxrd@z Thu Jan 1 00:00:00 1970 From: bostjanv@alum.mit.edu Subject: "read only buffer" message in orgmode Date: Wed, 23 Jul 2008 06:30:17 -0400 (EDT) Message-ID: <19747214.1541216809017295.JavaMail.gbourne@brunch.mit.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_88_21047811.1216809017294" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLbcJ-0005A4-My for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 06:30:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLbc2-00055O-GQ for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 06:30:41 -0400 Received: from [199.232.76.173] (port=46597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLbbw-00053m-Ey for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 06:30:21 -0400 Received: from brunch.mit.edu ([18.92.0.171]:50461) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLbbv-0007vU-Cw for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 06:30:19 -0400 Received: from brunch.mit.edu (localhost [127.0.0.1]) by brunch.mit.edu (8.13.8+Sun/8.12.10) with ESMTP id m6NAUH8F000634 for ; Wed, 23 Jul 2008 06:30:17 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org ------=_Part_88_21047811.1216809017294 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, I'm running emacs 22.2 with orgmode v. 4.67 on Windows XP, and I'm just starting to use orgmode. However, I seem to cannot go beyond a (probably) trivial problem: Whenever I type "C-c a a", I get the message "Buffer is read-only: #". This does not depend on the directory in which the org files reside (I tried different directories; the only change is in the buffer name). Any advice would be appreciated. Regards, bostjanv PS following is my init file (the orgmode relevant items are in the last 21 lines): (setq next-line-add-newlines nil) (or (assoc "\\.ob2$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.ob2$" . modula-2-mode) auto-mode-alist))) (or (assoc "\\.mod$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.mod$" . modula-2-mode) auto-mode-alist))) (or (assoc "\\.def$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.def$" . modula-2-mode) auto-mode-alist))) (or (assoc "\\.odf$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.odf$" . modula-2-mode) auto-mode-alist))) (defun m2-mode-fontify-hook () "set Modula2 font lock and fontify buffer" (interactive) (font-lock-mode) (font-lock-fontify-buffer) (define-key m2-mode-map [delete] 'delete-char) (define-key m2-mode-map [return] 'newline-and-indent)) (add-hook 'm2-mode-hook 'm2-mode-fontify-hook) (global-set-key "\C-l" 'goto-line) (setq tex-open-quote "\"") (setq tex-close-quote "\"") ;; change in v. 21.3 (server-start) (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil) ;; disable version control (setq vc-handled-backends nil) ;; there was a problem in the preloaded mouse.el in v. 22.1 ;; fix disabled since 22.2 ;(load-file "C:/Program Files/Emacs/emacs-22.1/lisp/mouse.elc") ;; use to set font specific to machine (if (file-readable-p "~/.emacs.d/local-script.el") (load "~/.emacs.d/local-script.el" nil t) ) ;; added 21 Jul 2008: org mode ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) ;; added 21 Jul 2008: org mode (global-font-lock-mode 1) ; for all buffers (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(calendar-time-display-form (quote (24-hours ":" minutes (if time-zone " (") time-zone (if time-zone ")")))) '(diary-file "~/.emacs.d/diary") '(org-agenda-files (quote ("~/.emacs.d/notes.org" ""))) '(org-agenda-restore-windows-after-quit t) '(org-agenda-window-setup (quote other-frame))) (setq org-agenda-include-diary t) ------=_Part_88_21047811.1216809017294 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ------=_Part_88_21047811.1216809017294--