Avatar

జిందం వాఐి

jindam_vani@lemmy.world
Joined
15 posts • 6 comments
Direct message
permalink
report
parent
reply

this code is for one [ my ] email id only

replace my email id, smtp, etc…

code is available also @_ https://lists.gnu.org/archive/html/help-gnu-emacs/2023-09/msg00142.html

~ /.emacs

;; pop3

(require 'smtpmail)
(require 'rmail)

(setq user-mail-address "jindam@list.ru") 
(setq user-full-name "జిందం వాఐి") 
(setq smtpmail-smtp-user "jindam@list.ru"    
          smtpmail-smtp-server "smtp.mail.ru" 
           smtpmail-smtp-service 465 
           smtpmail-stream-type 'ssl)

(setq
     rmail-preserve-inbox 1                     ; Don't delete mail from server
     rmail-mail-new-frame 1                     ; Compose in a full frame
     rmail-delete-after-output 1                ; Delete original mail after copying
     rmail-mime-prefer-html nil                 ; Prefer plaintext when possible
     rmail-file-name   "~/mail/inbox"           ; The path to our inbox file
     rmail-secondary-file-directory "~/mail"    ; The path to our other mbox files
     message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the "sent" file

;; Debug
(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)

;; html
(setq
 shr-use-fonts nil  ; Don't load fancy fonts
 shr-indentation 2  ; A left-margin of 2 columns
 shr-use-colors nil ; Don't load special colors
 shr-width 32       ; Fix width to 70 columns
 shr-bullet "• ")   ; A bullet character for <li> elements

;; tls
(setq rmail-movemail-flags "--tls")

;; Use Mail mode to compose messages (default)
(setq mail-user-agent 'sendmail-user-agent)

;; If you're using rmail
(setq read-mail-command 'rmail)

;;(setq rmail-primary-inbox-list
&nbsp; ;;&nbsp; &nbsp; (cons (concat "pop3://"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;&nbsp; &nbsp; &nbsp; "jindam@list.ru"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;&nbsp; &nbsp; &nbsp; "@pop.mail.ru") nil))

(setq
;; The mail URL, specifying a remote mail account
;; (Omit this to read from /var/mail/user)
rmail-primary-inbox-list
  '("pops://jindam@list.ru@pop.mail.ru"))
```</li>
permalink
report
reply

@yum13241@lemm.ee

w3m doesn’t support JavaScript

thanks for heads up

permalink
report
parent
reply

@glad_cat@lemmy.sdf.org

Don’t push.

yes, removing push code resolved the issue

permalink
report
parent
reply

@Chais@sh.itjust.works

If I understand OP’s explanation correctly, they’re simply trying to make a, possibly selfhosted, copy of a GitHub repo.

  • yes, you are correct in sense.
  • all i am trying to do is keep a copy of upstream repo. similar to mirroring repo.
  • i have to remove git push origin master
  • i will again check after few days whether the command is correct
permalink
report
parent
reply

@shugzaurus

When you clone a repo only one branch is pulled from the remote, main by default

No. I havent read book recommended by @senkora@lemmy.zip, but github cheatsheet $ git clone [url] says all branches https://training.github.com/downloads/github-git-cheat-sheet

permalink
report
parent
reply