• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/url/

Lines Matching defs:buffer

118 (defvar url-redirect-buffer nil
119 "New buffer into which the retrieval will take place.
120 Sometimes while retrieving a URL, the URL library needs to use another buffer
122 variable in the original buffer as a forwarding pointer.")
130 the current buffer containing the object, and any MIME headers associated
140 Return the buffer URL will load into, or nil if the process has
177 (buffer nil)
183 (setq buffer (funcall loader url callback cbargs))
184 (setq buffer (funcall loader url))
185 (if buffer
186 (with-current-buffer buffer
190 buffer))
195 Return the buffer containing the data, or nil if there are no data
201 (asynch-buffer nil))
202 (setq asynch-buffer
204 (url-debug 'retrieval "Synchronous fetching done (%S)" (current-buffer))
206 asynch-buffer (current-buffer)))))
207 (if (null asynch-buffer)
212 (let ((proc (get-buffer-process asynch-buffer)))
216 ;; asynch-buffer. This happens e.g. for FTP files. In such a case
218 ;; buffer-local variable so we can find the exact process that we
224 retrieval-done asynch-buffer)
225 (if (buffer-local-value 'url-redirect-buffer asynch-buffer)
226 (setq proc (get-buffer-process
227 (setq asynch-buffer
228 (buffer-local-value 'url-redirect-buffer
229 asynch-buffer))))
233 (eq proc (or (get-buffer-process asynch-buffer) proc)))
258 (get-buffer-process asynch-buffer)))))))
259 asynch-buffer)))
262 (let ((handle (mm-dissect-buffer t)))
263 (url-mark-buffer-as-dead (current-buffer))
264 (with-current-buffer
265 (generate-new-buffer (url-recreate-url url-current-object))
271 (get-buffer-process (cdr (mm-handle-undisplayer handle)))
275 (kill-buffer (current-buffer)))
276 (display-buffer (current-buffer))
277 (add-hook 'kill-buffer-hook
295 (defvar url-dead-buffer-list nil)
297 (defun url-mark-buffer-as-dead (buff)
298 (push buff url-dead-buffer-list))
302 (while (setq buff (pop url-dead-buffer-list))
303 (if (buffer-live-p buff)
304 (kill-buffer buff)))))
314 (with-current-buffer (get-buffer-create "*URL-WARNINGS*")
318 (display-buffer (current-buffer))))))