I wrote a table in org-mode and am using version 7.7 and it was not reformatted correctly when it was saved by emacs. My .emacs file and the table I made follow: cut here. (setq emacspeak-play-emacspeak-startup-icon t) (add-hook 'text-mode-hook 'turn-on-auto-fill) (add-hook 'mail-setup-hook 'spook) (add-hook 'mail-setup-hook 'fortune-to-signature) (setq mh-send-uses-spost-flag t) (setq mail-user-agent 'mh-e-user-agent) (setq browse-url-browser-function 'w3m-browse-url) (require 'w3m-load) (autoload 'w3m-weather "w3m-weather" "Display weather report." t) (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (setq org-log-done t) (global-font-lock-mode 1) (add-to-list 'load-path "~/elisp/muse/lisp") (add-to-list 'load-path "~/elisp/planner") (add-to-list 'load-path "~/elisp/remember") (setq planner-project "WikiPlanner") (setq muse-project-alist '(("WikiPlanner" ("~/plans" ;; Or wherever you want your planner files to be :default "index" :major-mode planner-mode :visit-link planner-visit-link)))) (require 'planner) (add-hook 'text-mode-hook (lambda () (when (y-or-n-p "Auto Fill mode? ") (turn-on-auto-fill)))) ;; (global-set-key (kbd "C-c q") 'refill-mode) (add-to-list 'load-path "~/elisp/bbdb-2.35/lisp") ;; (1) (require 'bbdb) (bbdb-initialize 'gnus 'message) (setq bbdb-north-american-phone-numbers-p nil) (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus) (add-hook 'mh-folder-mode-hook 'bbdb-insinuate-mh) (add-hook 'rmail-mode-hook 'bbdb-insinuate-rmail) (add-hook 'mail-setup-hook 'bbdb-insinuate-sendmail) (require 'org-habit) (add-to-list 'load-path (expand-file-name "~/org-mode/lisp")) (add-to-list 'auto-mode-alist '("\\.\\(org\\ |org_archive\\|txt\\)$" . org-mode)) (setq org-agenda-files '("/tmp/test.org")) (global-set-key "\C-cb" 'org-iswitchb) (blink-cursor-mode -1) (setq require-final-newline t) (setq case-fold-search t) (global-set-key [(meta g)] 'goto-line) (setq crypt-encryption-type 'gpg) cut here. | month | year | leap year | |- | January | 0 | 0 | | February | 31 | 31 | | March | 59 | 60 | | April | 90 | 91 | | May | 120 | 121 | | June | 151 | 152 | | July | 181 | 182 | | August | 212 | 213 | | September | 243 | 244 | | October | 273 | 274 | | November | 304 | 305 | | December | 334 | 335 | |- cut here. Jude <jdashiel@shellworld.net> If I got a nickel for every message I've already sent supporting Microsoft Windows and its applications I'd have enough to retire on comfortably no matter what the stock market did.
Saving the file shouldn't realign the table.
C-c C-c in the table should realign it on demand.
-Bernt
Jude DaShiell <jdashiel@shellworld.net> writes:
> I wrote a table in org-mode and am using version 7.7 and it was not
> reformatted correctly when it was saved by emacs. My .emacs file and the
> table I made follow:
> cut here.
> (setq emacspeak-play-emacspeak-startup-icon t)
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> (add-hook 'mail-setup-hook 'spook)
> (add-hook 'mail-setup-hook 'fortune-to-signature)
> (setq mh-send-uses-spost-flag t)
> (setq mail-user-agent 'mh-e-user-agent)
> (setq browse-url-browser-function 'w3m-browse-url)
> (require 'w3m-load)
> (autoload 'w3m-weather "w3m-weather" "Display weather report." t)
> (require 'org-install)
> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (setq org-log-done t)
> (global-font-lock-mode 1)
> (add-to-list 'load-path "~/elisp/muse/lisp")
> (add-to-list 'load-path "~/elisp/planner")
> (add-to-list 'load-path "~/elisp/remember")
> (setq planner-project "WikiPlanner")
> (setq muse-project-alist
> '(("WikiPlanner"
> ("~/plans" ;; Or wherever you want your planner files to be
> :default "index"
> :major-mode planner-mode
> :visit-link planner-visit-link))))
> (require 'planner)
> (add-hook 'text-mode-hook
> (lambda ()
> (when (y-or-n-p "Auto Fill mode? ")
> (turn-on-auto-fill))))
> ;; (global-set-key (kbd "C-c q") 'refill-mode)
> (add-to-list 'load-path "~/elisp/bbdb-2.35/lisp") ;; (1)
> (require 'bbdb)
> (bbdb-initialize 'gnus 'message)
> (setq bbdb-north-american-phone-numbers-p nil)
> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
> (add-hook 'mh-folder-mode-hook 'bbdb-insinuate-mh)
> (add-hook 'rmail-mode-hook 'bbdb-insinuate-rmail)
> (add-hook 'mail-setup-hook 'bbdb-insinuate-sendmail)
> (require 'org-habit)
> (add-to-list 'load-path (expand-file-name "~/org-mode/lisp"))
> (add-to-list 'auto-mode-alist '("\\.\\(org\\ |org_archive\\|txt\\)$" . org-mode))
> (setq org-agenda-files '("/tmp/test.org"))
> (global-set-key "\C-cb" 'org-iswitchb)
> (blink-cursor-mode -1)
> (setq require-final-newline t)
> (setq case-fold-search t)
> (global-set-key [(meta g)] 'goto-line)
> (setq crypt-encryption-type 'gpg)
>
> cut here.
> | month | year | leap year |
> |-
> | January | 0 | 0 |
> | February | 31 | 31 |
> | March | 59 | 60 |
> | April | 90 | 91 |
> | May | 120 | 121 |
> | June | 151 | 152 |
> | July | 181 | 182 |
> | August | 212 | 213 |
> | September | 243 | 244 |
> | October | 273 | 274 |
> | November | 304 | 305 |
> | December | 334 | 335 |
> |-
>
> cut here.
> Jude <jdashiel@shellworld.net>
> If I got a nickel for every message I've already sent supporting Microsoft
> Windows and its applications I'd have enough to retire on comfortably no
> matter what the stock market did.