emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I cannot see my agenda view
@ 2022-11-01 13:44 Renato Pontefice
  2022-11-01 15:28 ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: Renato Pontefice @ 2022-11-01 13:44 UTC (permalink / raw)
  To: emacs-orgmode

I’ve made more change on my init.el, but  I’m unable to show my Agenda view.
If I send my init.el file does someone can help me to solve this prob?
I think that I’ve made some change that does not work correctly

This is my init.el what does can inhibit my working Agenda?
________________________________________________________________________

;; -ss*- mode: emacs-lisp -*-

;;--setta il formato della data diversamente ------
;;(setq-default org-display-custom-times t)
(setq org-time-stamp-custom-formats '("<%a %d %m %Y>" . "<%a %d %m %Y %H:%M>"))

;;----- comandi per gestire la grandezza della finestraprincipale di emacs -----
(setq initial-frame-alist
      (append '((width . 200) (height . 400) (top 45) (left 45) ())
	      initial-frame-alist))

;;-----------------------(add-to-list 'default-frame-alist '(height . 24))
(add-to-list 'default-frame-alist '(width . 80)) 

;;------------ fà partire in AGENDA la settimana dal giorno 1---
(setq calendar-week-start-day 1)

;;---settaggi carattere e dimensione di default del carattere--
(set-face-attribute 'default nil :font "Andale Mono" :height 160 )

;; Disable the splash screen (to enable it agin, replace the t with 0)
(setq inhibit-splash-screen t)

;; Enable transient mark mode
(transient-mark-mode 1)

;;;;;; Org mode configuration
;; Enable Org mode
(require 'org)

;; Make Org mode work with files ending in .org
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
;; The above is the default in recent emacsen
(require 'org)
(setq org-log-done t)

;; set maximum indentation for description lists
(setq org-list-description-max-indent 5)

;; prevent demoting heading also shifting text inside sections
(setq org-adapt-indentation nil)

;;-------- determina le sequenze di stato al TODO
(setq org-todo-keywords
      '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))

;;-------------------------- file utilizzati  per TODO list in Agenda
(setq org-agenda-files
      '( "/org/"
	 ))

;; mappa alcuni tasti per ottenere le parentesi graffe e quadre
(global-set-key "\M-(" (lambda () (interactive) (insert "{")))
(global-set-key "\M-)" (lambda () (interactive) (insert "}")))
(global-set-key "\M-7" (lambda () (interactive) (insert "#")))
(global-set-key "\M-8" (lambda () (interactive) (insert "[")))
(global-set-key "\M-9" (lambda () (interactive) (insert "]")))

(global-set-key "\M-9" (lambda () (interactive) (insert "]")))

;;---Aggiunge il TIMESTAMP quando chiudo uno statemet TODO
(setq org-log-done 'time)

;;----fa aggiungere una nota di testo quando si chiude un TODO
(setq org-log-done 'note)

;;--setta dei tasti comodi da utilizzare in emacs
(global-set-key (kbd "C-c l") #'org-store-link)
(global-set-key (kbd "C-c a") #'org-agenda)
(global-set-key (kbd "C-c c") #'org-capture)

;;--- azioni applicate ai TODO
(setq org-todo-keywords
      '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))

(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.
 '(nil nil t)
 '(org-agenda-files nil))

;;-----apre emacs-org mode in modalità Agenda
;;(org-agenda-list)
;;(delete-other-windows)

(custom-set-faces
 ;; custom-set-faces 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.
 )
;; Local Variables:
;; mode: emacs-lisp
;; End:
_____________________________________

Thank you

Renato



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

* Re: I cannot see my agenda view
  2022-11-01 13:44 I cannot see my agenda view Renato Pontefice
@ 2022-11-01 15:28 ` Fraga, Eric
       [not found]   ` <A140006B-5F8A-4B8F-A2C5-AA2455D6B68C@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2022-11-01 15:28 UTC (permalink / raw)
  To: Renato Pontefice; +Cc: emacs-orgmode@gnu.org

Where are your diary entries that you would expect to show up?  You need
to put the list of files with the diary entries in org-agenda-files
(which you've customised to be an empty list).
-- 
: Eric S Fraga, with org release_9.5.5-1064-g5bc674 in Emacs 29.0.50

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

* Re: I cannot see my agenda view
       [not found]     ` <87k04emyr2.fsf@ucl.ac.uk>
@ 2022-11-01 20:10       ` Renato Pontefice
  0 siblings, 0 replies; 3+ messages in thread
From: Renato Pontefice @ 2022-11-01 20:10 UTC (permalink / raw)
  To: emacs-orgmode

This is what I’ve wrote to my init.el

(setq org-agenda-files
      '( "~/org/corciano.org"
	 ))


With this I open my agenda buffer

(global-set-key (kbd "C-c a") #'org-agenda)

What’s wrong?

Can someone tell me what proof can I made?

Thank you


Renato

p.s.
I uninstall and reinstall emacs and put the old init.el on .emacs.d folder because there is not init.el
> Il giorno 1 nov 2022, alle ore 17:21, Fraga, Eric <e.fraga@ucl.ac.uk> ha scritto:
> 
> On Tuesday,  1 Nov 2022 at 17:14, Renato Pontefice wrote:
>> I assigned just the root folder that contain the .org file.
>> Do I need to write the entire .org file?
> 
> Yes, as in '("~/org/mydiary.org") for org-agenda-files.
> 
> By the way, it's good practice to post followup messages to the list, not just to an individual.  This way it helps others.
> 
> -- 
> : Eric S Fraga, with org release_9.5.5-1064-g5bc674 in Emacs 29.0.50



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

end of thread, other threads:[~2022-11-01 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 13:44 I cannot see my agenda view Renato Pontefice
2022-11-01 15:28 ` Fraga, Eric
     [not found]   ` <A140006B-5F8A-4B8F-A2C5-AA2455D6B68C@gmail.com>
     [not found]     ` <87k04emyr2.fsf@ucl.ac.uk>
2022-11-01 20:10       ` Renato Pontefice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).